I'd like to be able to do something like: import qualified Data.Massiv.Array (qualified map)
.
This gives error: parse error on input `map'
.
Or better yet, import qualified Data.Massiv.Array (qualified map) as AM
, so I also can access foo
as either foo
or AM.foo
, unless foo
== map
, then I have to use AM.map
. This is to avoid conflict with Prelude.map
.
Write two import
s and you can use map
as AM.map
and use other functions without AM.
.
import qualified Data.Massiv.Array as AM
import Data.Massiv.Array hiding (map)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With