[Haskell] Re: Data.Set whishes
koen at cs.chalmers.se
Fri Feb 20 10:23:48 EST 2004
I have always wondered why the module system is not used at
all in these conventions. I mean, the function names seem to
come straight from the Haskell 1.2 days when there was no
What I mean is, instead of:
newIORef, writeIORef, readIORef
We could have:
IORef.new, IORef.write, IORef.read
(Or: new, write, read if all we use are IORefs.)
And instead of:
mapSet, emptySet, ...
Set.map, Set.empty, ...
This is how Chris does it in Edison.
Why isn't this used more?
Koen Claessen http://www.cs.chalmers.se/~koen/
Chalmers University of Technology, Gothenburg, Sweden
More information about the Haskell