hakaru-0.3.0: A probabilistic programming language

CopyrightCopyright (c) 2016 the Hakaru team
LicenseBSD3
Maintainerzsulliva@indiana.edu
Stabilityexperimental
PortabilityGHC-only Flatten takes Hakaru ABTs and C vars and returns a CStatement
Safe HaskellNone
LanguageHaskell2010

Language.Hakaru.CodeGen.Flatten

Description

assigning the var to the flattened ABT.

Documentation

flattenABT :: ABT Term abt => abt '[] a -> CExpr -> CodeGen () Source #

flattenTerm :: ABT Term abt => Term abt a -> CExpr -> CodeGen () Source #