guix import pypi: Fix a typo in a docstring.

* guix/import/pypi.scm (snake-case): Fix documentation.
This commit is contained in:
Cyril Roelandt 2014-10-16 00:46:15 +02:00
parent a5ffa812b8
commit 68b18aae6a
1 changed files with 2 additions and 2 deletions

View File

@ -117,8 +117,8 @@ recursively apply the procedure to the sub-list."
(assoc-ref* pypi-package "info" "version"))))) (assoc-ref* pypi-package "info" "version")))))
(define (snake-case str) (define (snake-case str)
"Return a downcased version of the string STR where dashes are replaced with "Return a downcased version of the string STR where underscores are replaced
underscores." with dashes."
(string-join (string-split (string-downcase str) #\_) "-")) (string-join (string-split (string-downcase str) #\_) "-"))
(define (guix-hash-url url) (define (guix-hash-url url)