chr-data-0.1.0.1: 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
Semigroup (FastSeq a) Source # 
Instance details

Defined in CHR.Data.FastSeq

Methods

(<>) :: FastSeq a -> FastSeq a -> FastSeq a #

sconcat :: NonEmpty (FastSeq a) -> FastSeq a #

stimes :: Integral b => b -> FastSeq a -> FastSeq a #

Monoid (FastSeq a) Source # 
Instance details

Defined in CHR.Data.FastSeq

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 #