[Haskell-cafe] Access to list

Tom Phoenix rootbeer at redcat.com
Sun Jan 13 11:07:16 EST 2008


On Jan 13, 2008 7:55 AM, Fernando Rodriguez <frr149 at easyjob.net> wrote:

> If I define the follwoing functions:
>
> car (x:_) = x
> car [] = []

What's the type signature for that function?

Cheers!

--Tom Phoenix


More information about the Haskell-Cafe mailing list