Re: [Haskell] ANNOUNCE: xmonad 0.3

2007-09-05 Thread Ketil Malde
On Wed, 2007-09-05 at 13:02 +1000, Donald Bruce Stewart wrote: > The xmonad dev team is pleased to announce the 0.3 release of xmonad. I just wanted to congratulate the team, and say that xmonad is, along with darcs, my favorite "mainstream" Haskell program. I used to spend days experimenting w

[Haskell] ICFP07 Reminder: registration deadline

2007-09-05 Thread Matthew Fluet (ICFP Publicity Chair)
= Final Call for Participation The 12th ACM SIGPLAN International Conference on Functional Programming (ICFP 2007) http://www.informatik.uni-bonn.de/~ralf/icfp07.html

[Haskell] (no subject)

2007-09-05 Thread Tomi Owens
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 Basic, but have read up about Haskell and think it looks like a sensible way to solve many of the problems. OK, so I've downloaded GHCi and am trying to teach myself. So far

Re: [Haskell] (no subject)

2007-09-05 Thread Brandon S. Allbery KF8NH
On Sep 5, 2007, at 21:10 , Tomi Owens wrote: Prelude> let f (a,b) = a * floor (10/b) Prelude> f(2,5) 4 This function works just as I want it to. Now I try creating a list: Prelude> [(a2+b2,a)| a <- [1..4] , b<- [1..4], a2+b2<20, b<=a] [(2,1),(5,2),(8,2),(10,3),(13,3),(18,3),(17,4)]

Re: [Haskell] (no subject)

2007-09-05 Thread Chaddaï Fouché
2007/9/5, Tomi Owens <[EMAIL PROTECTED]>: > So now I try to apply the function to the list: > > Prelude> map (f) [(a2+b2,a)| a <- [1..4] , b<- [1..4], a2+b2<20, b<=a] > > and I get this result: > > :1:5: > Ambiguous type variable `t' in the constraints: > `Integral t' arising from use

Re: [Haskell] (no subject)

2007-09-05 Thread Brent Yorgey
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 Basic, but have read up > about Haskell and think it looks like a sensible way to solve many of the > problems. > > I se

Re: [Haskell] (no subject)

2007-09-05 Thread Chris Mears
"Tomi Owens" <[EMAIL PROTECTED]> writes: > 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 Basic, but > have read up about Haskell and think it looks like a sensible way to > solve many of the problems. It certainly is.