drasil-code-0.1.9.0: A framework for code and document generation for scientific software - Code SubPackage
Safe HaskellNone
LanguageGHC2024

Language.Drasil.Code.Imperative.Comments

Description

Contains functions for generating code comments that describe a chunk.

Synopsis

Documentation

renderTermAndUnit :: CodeIdea c => c -> GenState String Source #

For a named quantity, render its name and associated unit (when it exists) in plaintext in the form: term (unit)