[Haskell-cafe] stupid operator question

Stefan O'Rear stefanor at cox.net
Sat Jun 23 20:00:06 EDT 2007

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


More information about the Haskell-Cafe mailing list