Whatever happened to the idea of Or-Patterns?
http://www.haskell.org/pipermail/glasgow-haskell-users/2000-December/001535.html
I find them more than occasionally useful :) Is there some
theoretical difficulty
or is it just that nobody had the time/will to implement it?
Regards,
Lajos Nagy
question
is: what happened to OE? Was it that it seemed like a good idea on paper
but not in reality? Or was it too costly to maintain? Or it didn't deliver
the goods it promised? I'm just curious.
Regards,
Lajos Nagy
___
Haskell mailing list
Haskell
(destructive vs. non-destructive) for functions which also seems an
interesting research area.
Regards,
-- Lajos Nagy
Computer Science Ph.D. Student, Florida Institute of Technology
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users
then
ER is restored. (And those two operations is all I
need.)
I tried several ways of implementing it but those
monadic types just kept cropping up in the map interface.
I'd appreciate any ideas or pointers.
Regards,
Lajos Nagy
___
Glasgow-haskell
f s = Data.Set.map f s
In the definition for method `fmap'
In the instance declaration for `Functor Data.Set.Set'
On the other hand, it seems intuitively natural to make Set an instance of
fmap. Any ideas on how to do it?
Thanks and Regards,
Lajos Nagy