[Haskell-cafe] Re: Silly question: accessing a slot in a data type

Fernando Rodriguez frr149 at easyjob.net
Wed Jan 9 13:18:14 EST 2008

Hello Miguel,

>> Also, how do I represent an AddressBook with an empty list and one
>> with data on its list for my pattern matching?
> phoneLookup (AddressBook []) = Nothing


More information about the Haskell-Cafe mailing list