ddc-core-flow-0.4.2.1: Disciplined Disciple Compiler data flow compiler.

Safe HaskellNone
LanguageHaskell98

DDC.Core.Flow.Transform.Slurp

Synopsis

Documentation

slurpProcesses :: Module () Name -> Either Error [Either Process (Bind Name, Exp () Name)] Source

Slurp stream processes from the top level of a module.

slurpOperator :: Bind Name -> Exp () Name -> Maybe ([Name], Type Name, Operator) Source

Slurp a stream operator from a let-binding binding. We use this when recovering operators from the source program.

isSeriesOperator :: Exp () Name -> Bool Source

Check if some binding is a series operator.

isVectorOperator :: Exp () Name -> Bool Source

Check if some binding is a vector operator.