PROTECTED]
Subject
Re: [Haskell-cafe] Re: [Haskell] (no subject)
I think you want something like this
{-# OPTIONS -fglasgow-exts #-}
f :: (Integer, Float) - Integer
f (a,b) = a * floor (10/b)
lst :: [(Integer, Integer)]
lst = [(a ^ 2 + b ^ 2, a) | a - [1..4], b - [1..4], a^2 + b^2 20, b
PROTECTED]
cc
haskell-cafe@haskell.org
Subject
[Haskell-cafe] Re: [Haskell] (no subject)
[bcc haskell, cc haskell-cafe]
On 9/5/07, Tomi Owens [EMAIL PROTECTED] wrote:
Hi there. I'm a teacher of Maths and am working my way through the Euler
Project problems for fun. I have mostly been using