Mercurial > repo
view interps/ghc/runghc @ 5599:5ebc7c297c5a
<oerjan> ` sed -i \'2curl wisdom\' bin/pastewisdom
author | HackBot |
---|---|
date | Wed, 17 Jun 2015 02:49:54 +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