Open
Description
Clarification and motivation
What would be a replacement for this?:
build ... = mconcat
[ "Error:"
, indentF 2 $ build thing1 -- potentially multiline text
, ""
, "Extra:"
, indentF 2 $ build thing2
]
Probably we need some special construct for this, this can look like
build ... = [int||
Error:
#|{thing1}
Extra:
#|s{thing2}
|]
where #|
stands for preserving the current indentation for the multiline text.
Acceptance criteria
- It is possible to automatically indent the text produced during interpolation.
- Corner cases, defaults, other use-cases and thought through.