Mercurial > repo
view interps/ghc/runghc @ 10052:06be28384af9
<Zarutian> learn Maze is so A-Maze-ing that you can not find the exit easily. Truely an labyrithn of limitlessness.
author | HackBot |
---|---|
date | Sat, 31 Dec 2016 03:48:39 +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