ajhc-0.8.0.7: Haskell compiler that produce binary through C language

Safe HaskellNone

FrontEnd.SrcLoc

Documentation

data Located x Source

Constructors

Located SrcSpan x 

Instances

Functor Located 
Typeable1 Located 
Foldable Located 
Traversable Located 
Eq x => Eq (Located x) 
Data x => Data (Located x) 
Ord x => Ord (Located x) 
Show x => Show (Located x) 
Binary x_1627988703 => Binary (Located x_1627988703) 
HasLocation (Located a) 

located :: HasLocation a => a -> x -> Located xSource

class MonadSrcLoc m => MonadSetSrcLoc m whereSource

Methods

withSrcLoc :: SrcLoc -> m a -> m aSource

withSrcSpan :: SrcSpan -> m a -> m aSource

withLocation :: (HasLocation l, MonadSetSrcLoc m) => l -> m a -> m aSource