mirror of
https://github.com/quchen/prettyprinter.git
synced 2024-10-05 17:38:27 +03:00
Add test for $$ operator (that fails right now)
This commit is contained in:
parent
c331e908cf
commit
0cd22098e0
@ -523,6 +523,9 @@ hardlineCollapse i = Line (CollapseTo i)
|
||||
-- foo
|
||||
-- bar
|
||||
-- baz
|
||||
--
|
||||
-- >>> "foo" <> hardlineCollapse 1 <> nest 5 "bar"
|
||||
-- foo bar
|
||||
|
||||
-- | @('group' x)@ tries laying out @x@ into a single line by removing the
|
||||
-- contained line breaks; if this does not fit the page, @x@ is laid out without
|
||||
|
Loading…
Reference in New Issue
Block a user