What is Nostr?
J3RN :fedora: :elixir: :emacs: /
npub1a67…qhg7
2024-10-18 03:10:34

J3RN :fedora: :elixir: :emacs: on Nostr: Hey #Haskell friends, I occasionally write something like this: import Data.Map (Map) ...

Hey #Haskell friends, I occasionally write something like this:

import Data.Map (Map)
import qualified Data.Map as Map

Essentially, I want to use "Map" unqualified as a type (e.g. Map Text Text) (as opposed to the qualified Map.Map Text Text), but I'm fine with invoking the Map module's functions qualified (e.g. Map.empty). Is there a terser way I can write this (i.e. not two imports)?
Author Public Key
npub1a673fkpvw5s632ydeppgr760z3q6cuwsys05ur068ag93gdqw6cqraqhg7