hslua-module-doclayout 1.1.1 → 1.1.1.1
raw patch · 3 files changed
+13/−7 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +6/−0
- hslua-module-doclayout.cabal +1/−1
- src/HsLua/Module/DocLayout.hs +6/−6
CHANGELOG.md view
@@ -3,6 +3,12 @@ `hslua-module-doclayout` uses [PVP Versioning][1]. The changelog is available [on GitHub][2]. +## 1.1.1.1++Released 2024-06-09.++- Fixed minor typos in docstrings.+ ## 1.1.1 Released 2024-01-23.
hslua-module-doclayout.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: hslua-module-doclayout-version: 1.1.1+version: 1.1.1.1 synopsis: Lua module wrapping Text.DocLayout. description: Lua module wrapping @Text.DocLayout@. homepage: https://github.com/hslua/hslua-module-doclayout
src/HsLua/Module/DocLayout.hs view
@@ -10,7 +10,7 @@ License : MIT Maintainer : Albert Krewinkel <albert+hslua@zeitkraut.de> -Provides a Lua module which wraps @'Text.DocLayout'@. The @Doc'+Provides a Lua module which wraps @'Text.DocLayout'@. The @'Doc'@ type is specialized to @'Text'@. This module defines orphan instances for @Doc Text@.@@ -312,7 +312,7 @@ <#> textParam "str" "UTF-8 string to measure" =#> integralResult "text length" #? ("Returns the real length of a string in a monospace font: " <>- "0 for a combining chaeracter, 1 for a regular character, " <>+ "0 for a combining character, 1 for a regular character, " <> "2 for an East Asian wide character.") --@@ -354,11 +354,11 @@ braces = defun "braces" ### liftPure Doc.braces <#> docParam "doc"- =#> docResult "doc enclosed by {}."+ =#> docResult "`doc` enclosed by {}." #? "Puts the `doc` in curly braces." -- | Puts a @'Doc'@ in square brackets.-brackets :: LuaError e => DocumentedFunction e -- Doc Text -> Lua (Doc Text)+brackets :: LuaError e => DocumentedFunction e brackets = defun "brackets" ### liftPure Doc.brackets <#> docParam "doc"@@ -371,7 +371,7 @@ ### liftPure2 (flip Doc.cblock) <#> docParam "doc" <#> integralParam "width" "block width in chars"- =#> docResult ("doc, aligned centered in a block with max" <>+ =#> docResult ("doc, aligned centered in a block with max " <> "`width` chars per line.") #? ("Creates a block with the given width and content, " <> "aligned centered.")@@ -511,7 +511,7 @@ ### liftPure2 (flip Doc.rblock) <#> docParam "doc" <#> integralParam "width" "block width in chars"- =#> docResult ("doc, right aligned in a block with max" <>+ =#> docResult ("doc, right aligned in a block with max " <> "`width` chars per line.") #? ("Creates a block with the given width and content, " <> "aligned to the right.")