Mercurial > repo
view interps/ghc/runghc @ 5952:c24cc3e3bc15
<oerjan_nope> rm wisdom/o
author | HackBot |
---|---|
date | Mon, 31 Aug 2015 23:07:20 +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