Mercurial > repo
view interps/ghc/runghc @ 11419:5455769afdd1
<oerjan> undo 11380
author | HackBot |
---|---|
date | Wed, 28 Feb 2018 04:08:06 +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