Skip to content

Instantly share code, notes, and snippets.

@acfoltzer
Created January 15, 2013 19:56
Show Gist options
  • Save acfoltzer/4541471 to your computer and use it in GitHub Desktop.
Save acfoltzer/4541471 to your computer and use it in GitHub Desktop.
{-# LANGUAGE NoMonomorphismRestriction #-}
import Data.Map as Map
import Prelude as P
-- When there's a name clash, you can use the qualifier
mapNull = Map.null
listNull = P.null
-- When a name is unambiguous, you can just use it
mapMember = member
listMember = elem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment