
6 Nov
2007
6 Nov
'07
12:16 a.m.
Hi,
Is there a way to run 'ghc -e' taking input from standard input? (...)
It seems to me that you can use getContents, et. al., as you would from any other Haskell program: (...)
hm, which raises the question of exactly what Maurício meant. (...)
Actually, what I want is to select a region of text from emacs and get back the result of that evaluated as haskell code. So, I need something that is fast to type, since I'll use it all the time. Maybe I should learn how to write a small shell script that in turn would call xargs ghc. Maurício