
5 Oct
2001
5 Oct
'01
12:29 p.m.
Why does "newtype" exist, instead of letting people always use "data" and still get maximum efficiency? After all, surely the implementation is an implementation detail - a compiler could see the use of "data" with a unary constructor and implement it as it does "newtype", instead of making the programmer worry about how things are actually represented? I'm obviously missing something obvious here; I'm hoping to learn what. (-: -- Mark
8634
Age (days ago)
8634
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Carroll