1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-12 18:10:47 +02:00

gnu: Fix whitespace issues in Haskell package descriptions.

This mainly addresses `double-space after sentence end period' and `trailing
white space' issues.

* gnu/packages/haskell-check.scm (ghc-tasty-expected-failure,
ghc-quickcheck-classes-base, ghc-doctest-lib): Fix description.
* gnu/packages/haskell-web.scm (ghc-hxt-unicode): Fix description.
* gnu/packages/haskell-xyz.scm (ghc-fsnotify, ghc-gtk2hs-buildtools,
ghc-operational, ghc-commonmark, ghc-template-haskell): Fix description.

Change-Id: I5a71ad41bbddf1ad4c880dacc0a53992a38c71ad
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
This commit is contained in:
Gabriel Wicki 2025-01-05 22:20:33 +01:00 committed by Vagrant Cascadian
parent 8df34932ba
commit bc58a33be0
No known key found for this signature in database
GPG key ID: DC518FC87F9716AA
3 changed files with 22 additions and 24 deletions

View file

@ -355,7 +355,7 @@ been added since previous test run.")
(description (description
"With the function @code{Test.Tasty.ExpectedFailure.expectFail} in the "With the function @code{Test.Tasty.ExpectedFailure.expectFail} in the
provided module @code{Test.Tasty.ExpectedFailure}, you can mark that you provided module @code{Test.Tasty.ExpectedFailure}, you can mark that you
expect test cases to fail, and not to pass. This can be used for test-driven expect test cases to fail, and not to pass. This can be used for test-driven
development.") development.")
(license license:expat))) (license license:expat)))
@ -1069,21 +1069,19 @@ constraints more cleanly.")
(home-page "https://github.com/andrewthad/quickcheck-classes#readme") (home-page "https://github.com/andrewthad/quickcheck-classes#readme")
(synopsis "QuickCheck common typeclasses from `base`") (synopsis "QuickCheck common typeclasses from `base`")
(description (description
"This library is a minimal variant of `quickcheck-classes` "This library is a minimal variant of `quickcheck-classes` that only
that only provides laws for typeclasses from `base`. The main provides laws for typeclasses from `base`. The main purpose of splitting this
purpose of splitting this out is so that `primitive` can depend out is so that `primitive` can depend on `quickcheck-classes-base` in its test
on `quickcheck-classes-base` in its test suite, avoiding the suite, avoiding the circular dependency that arises if `quickcheck-classes` is
circular dependency that arises if `quickcheck-classes` is used used instead. This library provides QuickCheck properties to ensure that
instead. . This library provides QuickCheck properties to ensure typeclass instances adhere to the set of laws that they are supposed to.
that typeclass instances adhere to the set of laws that they are There are other libraries that do similar things, such as `genvalidity-hspec`
supposed to. There are other libraries that do similar things, and `checkers`. This library differs from other solutions by not introducing
such as `genvalidity-hspec` and `checkers`. This library differs any new typeclasses that the user needs to learn. @emph{Note:} on GHC < 8.5,
from other solutions by not introducing any new typeclasses that this library uses the higher-kinded typeclasses
the user needs to learn. . /Note:/ on GHC < 8.5, this library (@code{Data.Functor.Classes.Show1}, @code{Data.Functor.Classes.Eq1},
uses the higher-kinded typeclasses ('Data.Functor.Classes.Show1', @code{Data.Functor.Classes.Ord1}, etc.), but on GHC >= 8.5, it uses
'Data.Functor.Classes.Eq1', 'Data.Functor.Classes.Ord1', etc.), `-XQuantifiedConstraints` to express these constraints more cleanly.")
but on GHC >= 8.5, it uses `-XQuantifiedConstraints` to express
these constraints more cleanly.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public ghc-doctest-lib (define-public ghc-doctest-lib
@ -1101,7 +1099,7 @@ these constraints more cleanly.")
(home-page "https://hub.darcs.net/thielema/doctest-lib/") (home-page "https://hub.darcs.net/thielema/doctest-lib/")
(synopsis "Parts of doctest exposed as library") (synopsis "Parts of doctest exposed as library")
(description (description
"Parts of doctest exposed as library. For use with the doctest-extract utility.") "Parts of doctest exposed as library. For use with the doctest-extract utility.")
(license license:expat))) (license license:expat)))
(define-public ghc-doctest-exitcode-stdio (define-public ghc-doctest-exitcode-stdio

View file

@ -1508,7 +1508,7 @@ supported Unicode version is 7.0.0")
(description (description
"This package provides Unicode encoding and decoding functions for "This package provides Unicode encoding and decoding functions for
encodings used in the Haskell XML Toolbox. ISO Latin 1-16, utf8, utf16, ASCII encodings used in the Haskell XML Toolbox. ISO Latin 1-16, utf8, utf16, ASCII
are supported. Decoding is done with lazy functions, errors may be detected or are supported. Decoding is done with lazy functions, errors may be detected or
ignored.") ignored.")
(license license:expat))) (license license:expat)))

View file

@ -4404,7 +4404,7 @@ definition of @code{Monad}.")
(home-page "https://github.com/haskell-fswatch/hfsnotify") (home-page "https://github.com/haskell-fswatch/hfsnotify")
(synopsis "Cross platform library for file change notification") (synopsis "Cross platform library for file change notification")
(description "Cross platform library for file creation, modification, and (description "Cross platform library for file creation, modification, and
deletion notification. This library builds upon existing libraries for platform deletion notification. This library builds upon existing libraries for platform
specific Windows, Mac, and Linux file system event notification.") specific Windows, Mac, and Linux file system event notification.")
(license license:bsd-3))) (license license:bsd-3)))
@ -4745,10 +4745,10 @@ monoid with invertibility.")
(synopsis "Tools to build the Gtk2Hs suite of user interface libraries") (synopsis "Tools to build the Gtk2Hs suite of user interface libraries")
(description (description
"This package provides a set of helper programs necessary to build the "This package provides a set of helper programs necessary to build the
Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool Gtk2Hs suite of libraries. These tools include a modified c2hs binding tool
that is used to generate FFI declarations, a tool to build a type hierarchy that is used to generate FFI declarations, a tool to build a type hierarchy
that mirrors the C type hierarchy of GObjects found in glib, and a generator that mirrors the C type hierarchy of GObjects found in glib, and a generator
for signal declarations that are used to call back from C to Haskell. These for signal declarations that are used to call back from C to Haskell. These
tools are not needed to actually run Gtk2Hs programs.") tools are not needed to actually run Gtk2Hs programs.")
(license license:gpl2))) (license license:gpl2)))
@ -8302,7 +8302,7 @@ found at runtime, a userError is thrown.")
"Implementation of difficult monads made easy with operational semantics") "Implementation of difficult monads made easy with operational semantics")
(description (description
"This library makes it easy to implement monads with tricky control "This library makes it easy to implement monads with tricky control
flow. This is useful for: writing web applications in a sequential style, flow. This is useful for: writing web applications in a sequential style,
programming games with a uniform interface for human and AI players and easy programming games with a uniform interface for human and AI players and easy
replay capababilities, implementing fast parser monads, designing monadic replay capababilities, implementing fast parser monads, designing monadic
DSLs, etc.") DSLs, etc.")
@ -15129,7 +15129,7 @@ ones.
Accurate information about source positions is available for all block and Accurate information about source positions is available for all block and
inline elements. Thus the library can be used to create an accurate syntax inline elements. Thus the library can be used to create an accurate syntax
highlighter or an editor with live preview. The parser has been designed for highlighter or an editor with live preview. The parser has been designed for
robust performance even in pathological cases that tend to cause stack robust performance even in pathological cases that tend to cause stack
overflows or exponential slowdowns in other parsers, with parsing speed that overflows or exponential slowdowns in other parsers, with parsing speed that
varies linearly with input length.") varies linearly with input length.")
@ -15243,7 +15243,7 @@ platform independent way.")
(synopsis "Support library for Template Haskell") (synopsis "Support library for Template Haskell")
(description (description
"This package provides modules containing facilities for manipulating "This package provides modules containing facilities for manipulating
Haskell source code using Template Haskell. See Haskell source code using Template Haskell. See
@uref{http://www.haskell.org/haskellwiki/Template_Haskell} for more @uref{http://www.haskell.org/haskellwiki/Template_Haskell} for more
information.") information.")
(license license:bsd-3))) (license license:bsd-3)))