Mercurial > repo
view interps/ghc/runghc @ 996:859f9b4339e6
<Gregor> tar xf egobot.tar.xz
author | HackBot |
---|---|
date | Sun, 09 Dec 2012 19:30:08 +0000 |
parents | |
children |
line wrap: on
line source
#!/bin/bash src=$(cat $1) if ! ghc -e "$src" 2> /dev/null then /opt/ghc/bin/runhaskell <<< $src fi