copilot-0.22: A stream DSL for writing embedded C.Source codeContentsIndex
Language.Copilot.AdHocC
Description
Helper functions for writing free-form C code.
Synopsis
varDecl :: Type -> [String] -> String
includeBracket :: String -> String
includeQuote :: String -> String
printf :: String -> [String] -> String
printfNewline :: String -> [String] -> String
Documentation
varDecl :: Type -> [String] -> String
Takes a type and a list of variable names and declares them.
includeBracket :: String -> String
Add an include of a library
includeQuote :: String -> String
Add an include of a header file
printf :: String -> [String] -> String
printfNewline :: String -> [String] -> String
printf, with and without a newline (nl) character.
Produced by Haddock version 2.6.1