data HsValueMap mapto =
Tuple [HsValueMap mapto]
| Single mapto
- deriving (Show, Eq)
+ deriving (Show, Eq, Ord)
instance Functor HsValueMap where
fmap f (Single s) = Single (f s)
-- ^ map should only contain Port and other
-- HighOrder values.
}
- deriving (Show, Eq)
+ deriving (Show, Eq, Ord)
type HsUseMap = HsValueMap HsValueUse
hsFuncName :: String,
hsFuncArgs :: [HsUseMap],
hsFuncRes :: HsUseMap
-} deriving (Show, Eq)
+} deriving (Show, Eq, Ord)
type BindMap = [(
CoreBndr, -- ^ The bind name