Mercurial > repo
view interps/ghc/runghc @ 11266:d0b0045333a6
<oerjan> learn_append A test is a test, in jest, in jest.
author | HackBot |
---|---|
date | Tue, 12 Dec 2017 22:00:50 +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