confirm 834452
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell
Stellar Concepts and Design Can offer
you:
5000 ¼ Page Flyers, full color, Free UV
Lamination--$1995000 Business Cards, Full Color, Free UV
Lamination--$1995000 Business Cards, 5000 Brochures, 5000
Flyers--$999
If you are interested email us @ [EMAIL PROTECTED]Or
call 954.489.2250 ext
Does anybody know a GUI library which goes OK with ghc-5?
I have been looking for one, but it seems that they only can be used with old versions
of ghc or with hugs.
Thanks in advance,
J. I. García
___
Haskell mailing list
[EMAIL PROTECTED]
http://ww
Cagdas Ozgenc wrote:
> books2 :: Database2 -> Person -> [Book]
>
> books2 db person = head [ snd tuple | tuple <- db, fst tuple == person ]
>
> borrowers2 :: Database2 -> Book -> [Person]
> borrowers2 db book = [ person | (person, books) <- db, book <- books ]
You can't pattern match against
Hi,
I am trying to do some exercies in my Haskell book. I couldn't get my
program to work correctly.
type Database2 = [ (Person,[ Book ]) ]
exampleBase2 :: Database2
exampleBase2 = [ ("Alice", [ "Tintin", "Astrix" ] ),
("Anna", [ "Little Woman" ] ),
("Rory", [ "Tintin" ] )
]
books2 :: Data