pub fn typed_literal(ws: &CheckedWorkspace, value: &Value, ty: &Type) -> StringExpand description
Writes a value as a Haskell literal of ty.
This is the language’s way of writing a literal against its type, and the body writer’s way of writing a constant. Every result stands as an argument.