23 Jun
2007
23 Jun
'07
7:53 p.m.
I noticed that both the Data.Array library and the Data.Map library use the (!) operator for different purposes. How would it be possible to import both libraries usefully in a single module? I guess what I'm really asking is: how do I qualify operator names? Mike
23 Jun
23 Jun
8 p.m.
On Sat, Jun 23, 2007 at 04:53:51PM -0700, Michael Vanier wrote:
I noticed that both the Data.Array library and the Data.Map library use the (!) operator for different purposes. How would it be possible to import both libraries usefully in a single module? I guess what I'm really asking is: how do I qualify operator names?
import qualified Data.Map as M import qualified Data.Array as A foo = bar M.! baz Stefan
6707
Age (days ago)
6708
Last active (days ago)
1 comments
2 participants
participants (2)
-
Michael Vanier -
Stefan O'Rear