uhc-util-0.1.6.7: UHC utilities

Safe HaskellSafe
LanguageHaskell98

UHC.Util.Nm

Documentation

data Nm' s Source #

Constructors

NmEmp 
Nm 

Fields

NmSel 

Fields

NmQual 

Fields

Instances

Functor Nm' Source # 

Methods

fmap :: (a -> b) -> Nm' a -> Nm' b #

(<$) :: a -> Nm' b -> Nm' a #

Show Nm Source # 

Methods

showsPrec :: Int -> Nm -> ShowS #

show :: Nm -> String #

showList :: [Nm] -> ShowS #

PP Nm Source # 

Methods

pp :: Nm -> PP_Doc Source #

ppList :: [Nm] -> PP_Doc Source #

FPATH Nm Source # 

Methods

mkFPath :: Nm -> FPath Source #

NM Nm Source # 

Methods

mkNm :: Nm -> Nm Source #

Eq s => Eq (Nm' s) Source # 

Methods

(==) :: Nm' s -> Nm' s -> Bool #

(/=) :: Nm' s -> Nm' s -> Bool #

Ord s => Ord (Nm' s) Source # 

Methods

compare :: Nm' s -> Nm' s -> Ordering #

(<) :: Nm' s -> Nm' s -> Bool #

(<=) :: Nm' s -> Nm' s -> Bool #

(>) :: Nm' s -> Nm' s -> Bool #

(>=) :: Nm' s -> Nm' s -> Bool #

max :: Nm' s -> Nm' s -> Nm' s #

min :: Nm' s -> Nm' s -> Nm' s #

nmSetSel :: Nm' s -> s -> Nm' s Source #

nmToMbL :: Nm' s -> [Maybe s] Source #

nmFromMbL :: [Maybe s] -> Nm' s Source #

nmFromL :: [s] -> Nm' s Source #

nmApd :: Nm' s -> Nm' s -> Nm' s Source #

nmApdL :: [Nm' s] -> Nm' s Source #

nmStrApd :: Nm -> Nm -> Nm Source #

class NM a where Source #

Minimal complete definition

mkNm

Methods

mkNm :: a -> Nm Source #

Instances

NM Int Source # 

Methods

mkNm :: Int -> Nm Source #

NM String Source # 

Methods

mkNm :: String -> Nm Source #

NM Nm Source # 

Methods

mkNm :: Nm -> Nm Source #