hasktorch-codegen-0.0.1.1: Code generation tools for Hasktorch

Safe HaskellNone
LanguageHaskell2010

CodeGen.Parse.Cases

Synopsis

Documentation

type2hsreal :: TemplateType -> Text Source #

spliced text to use for function names

checkFunction :: LibType -> TemplateType -> FunctionName -> Bool Source #

Warning a function that doesn't exist will return True by default

TODO: make this safer. (stites): to make this safer I think we need to invert these maps so that we are given function names instead of doing membership checks.