Mercurial > repo
view interps/ghc/runghc @ 1989:41b0d1504da2
<oerjan> mv a.out bin/fueue
author | HackBot |
---|---|
date | Sat, 02 Feb 2013 22:36:37 +0000 |
parents | 859f9b4339e6 |
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