palm?

2003-03-08 Thread John Meacham
This may be an intractable goal, but is any project out there anywhere close to a working haskell 98(ish) implementation for the Palm Pilot? There would probably have to be some compromises, like 16 bit Ints and perhaps some other restrictions, but i don't think its impossible to get some sort of

data vs. newtype, abstractly

2003-03-08 Thread Dean Herington
If a type that could be defined either by `data` or `newtype` (i.e., a single-constructor type) is exported abstractly (without its constructor), can the user of the type tell how the type was declared? Dean ___ Haskell mailing list [EMAIL PROTECTED] h

Re: data vs. newtype, abstractly

2003-03-08 Thread Hal Daume III
yes. > data D = D Int > newtype N = N Int there is a difference between (N undefined) `seq` () and (D undefined) `seq` () there has been a lot of discussion about this on the mailing list, probably under a title of something like "difference between data and newtype". -- Hal Daume III