machines-0.6: Networked stream transducers

Copyright(C) 2012 Edward Kmett
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityprovisional
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Data.Machine.Mealy

Description

Synopsis

Documentation

unfoldMealy :: (s -> a -> (b, s)) -> s -> Mealy a b Source

A Mealy machine modeled with explicit state.

logMealy :: Semigroup a => Mealy a a Source

Accumulate history.