Mercurial > repo
view interps/ghc/runghc @ 5605:a4afa9eaa9ff
<hppavilion1_> learn yo mama so fat, insert joke here
author | HackBot |
---|---|
date | Wed, 17 Jun 2015 23:35:10 +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