guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

21/22: import: Fix docstring typoes.


From: guix-commits
Subject: 21/22: import: Fix docstring typoes.
Date: Tue, 22 Sep 2020 22:41:44 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit bd16cc2902800932f58a34647e224734aa3647cd
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Sep 22 15:24:10 2020 +0200

    import: Fix docstring typoes.
    
    * guix/import/cabal.scm (cabal-flags->alist): Fix typo in docstring.
    * guix/import/stackage.scm (lts-info-ghc-version): Likewise.
    * guix/scripts/import/hackage.scm (show-help): Likewise.
---
 guix/import/cabal.scm           | 2 +-
 guix/import/stackage.scm        | 4 ++--
 guix/scripts/import/hackage.scm | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/guix/import/cabal.scm b/guix/import/cabal.scm
index 7dfe771..da00019 100644
--- a/guix/import/cabal.scm
+++ b/guix/import/cabal.scm
@@ -718,7 +718,7 @@ If #f use the function 'port-filename' to obtain it."
   (dependencies cabal-custom-setup-dependencies)) ; list of <cabal-dependency>
 
 (define (cabal-flags->alist flag-list)
-    "Retrun an alist associating the flag name to its default value from a
+    "Return an alist associating the flag name to its default value from a
 list of <cabal-flag> objects."
   (map (lambda (flag) (cons (cabal-flag-name flag) (cabal-flag-default flag)))
        flag-list))
diff --git a/guix/import/stackage.scm b/guix/import/stackage.scm
index e04073d..ee12108 100644
--- a/guix/import/stackage.scm
+++ b/guix/import/stackage.scm
@@ -42,12 +42,12 @@
 (define %stackage-url "http://www.stackage.org";)
 
 (define (lts-info-ghc-version lts-info)
-  "Retruns the version of the GHC compiler contained in LTS-INFO."
+  "Returns the version of the GHC compiler contained in LTS-INFO."
   (and=> (assoc-ref lts-info "snapshot")
          (cut assoc-ref <> "ghc")))
 
 (define (lts-info-packages lts-info)
-  "Retruns the alist of packages contained in LTS-INFO."
+  "Returns the alist of packages contained in LTS-INFO."
   (or (assoc-ref lts-info "packages") '()))
 
 (define (leave-with-message fmt . args)
diff --git a/guix/scripts/import/hackage.scm b/guix/scripts/import/hackage.scm
index 710e786..906dca2 100644
--- a/guix/scripts/import/hackage.scm
+++ b/guix/scripts/import/hackage.scm
@@ -49,7 +49,7 @@
 Import and convert the Hackage package for PACKAGE-NAME.  If PACKAGE-NAME
 includes a suffix constituted by a at-sign followed by a numerical version (as
 used with Guix packages), then a definition for the specified version of the
-package will be generated.  If no version suffix is pecified, then the
+package will be generated.  If no version suffix is specified, then the
 generated package definition will correspond to the latest available
 version.\n"))
   (display (G_ "



reply via email to

[Prev in Thread] Current Thread [Next in Thread]