feldspar-compiler-0.6.0.2: Compiler for the Feldspar language

Safe HaskellNone

Feldspar.Compiler.Imperative.FromCore.Primitive

Synopsis

Documentation

compilePrim :: (Semantic expr, Compile dom dom) => (expr :|| Type) a -> Info (DenResult a) -> Args (AST (Decor Info dom)) a -> CodeWriter ExprSource

Convenient implementation of compileExprSym for primitive functions