dmehrtash:
>    What is the difference between empty list [] and list with one unit
>    element [()]?

    Prelude> length []
    0
    Prelude> length [()]
    1

:-)

-- Don
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to