| Copyright | (c) Edward Kmett 2011 | 
|---|---|
| License | BSD3 | 
| Maintainer | Edward Kmett <ekmett@gmail.com> | 
| Stability | experimental | 
| Portability | non-portable (DeriveDataTypeable) | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Ermine.Syntax.Global
Contents
Description
- data Global = Global !ByteString !Fixity !ModuleName !Text
 - class AsGlobal t where
 - class HasGlobal t where
 - data Assoc
 - data Fixity
 - _Fixity :: Prism' Word8 Fixity
 - unpackFixity :: Monad m => Word8 -> m Fixity
 - packFixity :: Fixity -> Word8
 - glob :: AsGlobal t => Fixity -> ModuleName -> Text -> t
 
Globals
A Global is a full qualified top level name.
NB: You should construct these with global and only use the constructor for pattern matching.
Constructors
| Global !ByteString !Fixity !ModuleName !Text | 
Minimal complete definition
Nothing
class HasGlobal t where Source
Minimal complete definition
Fixity
The associativity of an infix identifier
The fixity of an identifier
unpackFixity :: Monad m => Word8 -> m Fixity Source
packFixity :: Fixity -> Word8 Source