Eugene Kirpichov <ekirpic...@gmail.com> writes:

>> In JavaScript there is a "null" value, that is the only value of the null 
>> type.
>> Isn't () the same thing?  The only value of the unary type?

> No, () has two values: () and undefined (t.i., _|_).

I'd argue that yes, they're the same thing, since any function returning
"null" in JS might also fail to terminate or terminate with an
exception.

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to