On Jan 13, 2008 2:07 PM, Tom Phoenix <[EMAIL PROTECTED]> wrote:
> On Jan 13, 2008 7:55 AM, Fernando Rodriguez <[EMAIL PROTECTED]> wrote:
>
> > If I define the follwoing functions:
> >
> > car (x:_) = x
> > car [] = []
>
> What's the type signature for that function?

car :: [[a]] -> [a]

-- 
Felipe.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to