
15 May
2014
15 May
'14
11:01 a.m.
On 14/05/14 11:52, Herbert Valerio Riedel wrote:
Here's a hack I sometimes use to that effect: create a script 'fakeghc.sh' with the following contents (or a similiar program):
,---- | #!/bin/sh | | case "$1" in | --interactive) | echo "$*" | exit | ;; | esac | | exec ghc $* `----
and then invoke cabal like so
| cabal repl --with-ghc=./fakeghci.sh
Thanks, I think that this will be useful for my needs. -- Carlo Hamalainen http://carlo-hamalainen.net