Maurí­cio <[EMAIL PROTECTED]> writes:

> 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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to