The dreaded M-R

Taral taralx at gmail.com
Sat Jan 28 16:41:51 EST 2006


On 1/28/06, Cale Gibbard <cgibbard at gmail.com> wrote:
> Do you have an example of such a program handy?

b = (x, x) where { x :: Num a => a; x = fromInteger 1 }

fromInteger is called twice.

--
Taral <taralx at gmail.com>
"Computer science is no more about computers than astronomy is about
telescopes."
    -- Edsger Dijkstra


More information about the Haskell-prime mailing list