chr-data-0.1.0.0: Datatypes required for chr library

Safe HaskellSafe
LanguageHaskell2010

CHR.Data.FastSeq

Documentation

data FastSeq a Source #

Constructors

!(FastSeq a) :++: !(FastSeq a) infixr 5 
!a :+:: !(FastSeq a) infixr 5 
!(FastSeq a) ::+: !a infixl 5 

Instances

Monoid (FastSeq a) Source # 

Methods

mempty :: FastSeq a #

mappend :: FastSeq a -> FastSeq a -> FastSeq a #

mconcat :: [FastSeq a] -> FastSeq a #

type Seq a = FastSeq a Source #

toList :: FastSeq a -> [a] Source #

fromList :: [a] -> FastSeq a Source #

map :: (a -> b) -> FastSeq a -> FastSeq b Source #