HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Modulemachines-0.7.4Haskell2010

Data.Machine.MooreT

  • 1 type
  • 6 values
  • Packagemachines-0.7.4
  • Exports7
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceMooreT.hs
newtypenewtype MooreT (m :: Type -> Type) a b
#

Moore machine, with applicative effects

Constructors

Instances9AutomatonM, Costrong, Profunctor, Functor, Applicative, Distributive, …
valueunfoldMooreT :: Functor m => (s -> m (b, a -> s)) -> s -> MooreT m a b
#

Construct a MooreT machine from a state valuation and transition action