functions not in type classes

Ashley Yakeley
Fri, 18 Jan 2002 16:41:22 -0800

At 2002-01-18 03:06, Cagdas Ozgenc wrote:

>Well can you give examples of some useful functions? I can live without id,
>and (.)

Well what about [] and 'c'?

[] :: [a]

'c' :: Char

Not functions, of course. But Haskell definitions are just values: it 
would be odd if a restriction applied to some values (functions) and not 

Ashley Yakeley, Seattle WA