Mercurial > repo
view interps/ghc/runghc @ 4568:2fbda026da6b
<oerjan> sed -i \'21,$d\' share/8ballreplies #More fun than `revert
author | HackBot |
---|---|
date | Tue, 15 Apr 2014 11:43:18 +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