We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
rblock
1 parent 213e7f6 commit 09edc09Copy full SHA for 09edc09
1 file changed
src/Foreign/Lua/Module/DocLayout.hs
@@ -202,7 +202,7 @@ lblock width = return . Doc.lblock width
202
literal :: Text -> Lua (Doc Text)
203
literal = return . Doc.literal
204
205
--- | Indents a @'Doc' by the specified number of spaces.
+-- | Indents a @'Doc'@ by the specified number of spaces.
206
nest :: Int -> Doc Text -> Lua (Doc Text)
207
nest ind = return . Doc.nest ind
208
@@ -230,7 +230,7 @@ quotes = return . Doc.quotes
230
231
-- | Like @'lblock'@ but aligned to the right.
232
rblock :: Int -> Doc Text -> Lua (Doc Text)
233
-rblock ind = return . Doc.rblock ind
+rblock width = return . Doc.rblock width
234
235
-- | A breaking (reflowable) space.
236
space :: Doc Text
0 commit comments