>> 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 w
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
n
On Nov 6, 2007, at 0:48 , Maurí cio wrote:
Brandon S. Allbery KF8NH escreveu:
On Nov 6, 2007, at 0:16 , Maurí cio wrote:
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
Brandon S. Allbery KF8NH escreveu:
On Nov 6, 2007, at 0:16 , Maurí cio wrote:
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 lear
On Nov 6, 2007, at 0:16 , Maurí cio wrote:
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
>>> 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 wa