Mercurial > repo
view interps/ghc/runghc @ 11681:05b95285fdbc draft
<oerjan> le/rn standard//Here on this channel we ascribe to a higher standard. See flagpole.
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sat, 29 Dec 2018 18:37:48 +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