chr-data-0.1.0.0: Datatypes required for chr library
CHR.Data.FastSeq
data FastSeq a Source #
Constructors
Instances
Methods
mempty :: FastSeq a #
mappend :: FastSeq a -> FastSeq a -> FastSeq a #
mconcat :: [FastSeq a] -> FastSeq a #
type Seq a = FastSeq a Source #
isEmpty :: FastSeq a -> Bool Source #
null :: FastSeq a -> Bool Source #
empty :: FastSeq a Source #
size :: FastSeq a -> Int Source #
singleton :: a -> FastSeq a Source #
toList :: FastSeq a -> [a] Source #
fromList :: [a] -> FastSeq a Source #
map :: (a -> b) -> FastSeq a -> FastSeq b Source #
union :: FastSeq a -> FastSeq a -> FastSeq a Source #
unions :: [FastSeq a] -> FastSeq a Source #
firstNotEmpty :: [FastSeq x] -> FastSeq x Source #