Re: [Haskell] Literal for Infinity

2005-10-03 Thread Frederik Eaton
But they all have a largest and smallest possible value, as I have already indicated. On Sun, Oct 02, 2005 at 04:35:02PM +0200, Lennart Augustsson wrote: > Not all FP representations have infinity, and even if > they do, they might only have one infinity. > > -- Lennart > > Frederik Eaton

Re: [Haskell] Alex question

2005-10-03 Thread robert dockins
Which wrapper are you using? I just recently did this for the monad wrapper. It looks a little like this: data Token = EOF | alexEOF = return EOF lexAll :: Alex [Token] lexAll = do x <- alexMonadScan case x of EOF -> [] _ -> lexAll >>= return . (

[Haskell] Newbie quick questions

2005-10-03 Thread Mike Crowe
Hi folks, I ran across Haskell at the Great Win32 Computer Language Shootout. A friend approached me with a potential large application to develop. The idea of a language which can reduce time to design and make better code is very intriguing. I was looking at prototyping in Python using w