
6 Nov
2007
6 Nov
'07
2:54 a.m.
Maurício
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
M-| xargs ghc -e almost works - but ghc -e evaluates only a single argument, so you need to enclose the region with quotes (and escape any quotes inside it). A bit of elisp could probably do it fairly easily. -k -- If I haven't seen further, it is by standing in the footprints of giants