Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- quantvar :: (Quantity c, MayHaveUnit c) => c -> CodeVarChunk
- quantfunc :: (Quantity c, MayHaveUnit c) => c -> CodeFuncChunk
- codevars :: CodeExpr -> ChunkDB -> [CodeVarChunk]
- codevars' :: CodeExpr -> ChunkDB -> [CodeVarChunk]
- varResolve :: ChunkDB -> UID -> CodeVarChunk
- funcResolve :: ChunkDB -> UID -> CodeFuncChunk
Documentation
quantvar :: (Quantity c, MayHaveUnit c) => c -> CodeVarChunk Source #
Construct a CodeVarChunk
from a Quantity
.
quantfunc :: (Quantity c, MayHaveUnit c) => c -> CodeFuncChunk Source #
Construct a CodeFuncChunk
from a Quantity
.
codevars :: CodeExpr -> ChunkDB -> [CodeVarChunk] Source #
Get a list of CodeChunk
s from an equation.
codevars' :: CodeExpr -> ChunkDB -> [CodeVarChunk] Source #
Get a list of CodeChunk
s from an equation (no functions).
varResolve :: ChunkDB -> UID -> CodeVarChunk Source #
Make a CodeVarChunk
from a UID
in the ChunkDB
.
funcResolve :: ChunkDB -> UID -> CodeFuncChunk Source #
Make a CodeFuncChunk
from a UID
in the ChunkDB
.