jukebox-0.1: A first-order reasoning toolbox

Safe HaskellNone
LanguageHaskell98

Jukebox.Name

Documentation

data a ::: b Source

Constructors

!a ::: !b 

Instances

Named a => Eq ((:::) a b) 
Named a => Ord ((:::) a b) 
(Show a, Show b) => Show ((:::) a b) 
Named a => Hashable ((:::) a b) 
Named a => Named ((:::) a b) 
Typed b => Typed ((:::) a b) 
Typeable (* -> * -> *) (:::) 

lhs :: (a ::: b) -> a Source

rhs :: (a ::: b) -> b Source

class Named a where Source

Minimal complete definition

name

Methods

name :: a -> Name Source

baseName :: a -> ByteString Source

data Closed a Source

Instances

close :: Closed a -> (a -> NameM b) -> Closed b Source

open :: Closed a -> a Source

data NameM a Source

Instances

supply :: (Closed () -> Closed a) -> NameM a Source