pds
Copyright(c) Julian Grove and Aaron Steven White 2025
LicenseMIT
Maintainerjulian.grove@gmail.com
Safe HaskellSafe-Inferred
LanguageHaskell2010

Framework.Lambda.Signature

Description

Signatures for constants used across the framework.

Synopsis

Documentation

mkStackSig :: Type -> (Type -> Type) -> (Type -> Type) -> [(String, Type)] -> Sig Source #

Make signatures for pushing to and popping from stacks.

mkStateSig :: Type -> [(String, Type)] -> Sig Source #

Make signatures for updating and accessing states.

tau0 :: Sig Source #

Combined signature.

tauArithmetic :: Sig Source #

Some arithmetic operators.

tauIndicesInit :: Sig Source #

Initial indices.

tauLogical :: Sig Source #

Logical constants and operators defind thereon.

tauProbProg :: Sig Source #

Various useful probability distributions and operators defined thereon.

tauReals :: Sig Source #

Real numbers.

tauStatesInit :: Sig Source #

Initial states.