-
Notifications
You must be signed in to change notification settings - Fork 10
Naming conventions
Ryan Scott edited this page Feb 17, 2016
·
2 revisions
This is a brief guide to understanding the naming conventions that text-show
employs.
Prefix/Suffix | Examples | Meaning |
---|---|---|
-t or -T
|
showt , printT
|
Returns a strict Text value |
-tl or -TL
|
showtl , printTL
|
Returns a lazy Text value |
-b or -B
|
showb , unlinesB
|
Returns a Builder value |
-Prec |
showbPrec |
Takes a precedence argument, which determines how to parenthesize the shown output |
lift- |
liftShowbPrec |
Takes show function for use with occurrences of a type parameter |
-2 |
liftShowbPrec2 |
Takes show functions for use with occurrences of two type parameters |