Package: guile-1.8-doc-non-dfsg
Version: 1.8.7+1-1
Severity: minor

The string-join documentation in 'info guile-1.8' is as follows:

 -- Scheme Procedure: string-join ls [delimiter [grammar]]
 -- C Function: scm_string_join (ls, delimiter, grammar)
     Append the string in the string list LS, using the string DELIM as
     a delimiter between the elements of LS.  GRAMMAR is a symbol which
     specifies how the delimiter is placed between the strings, and
     defaults to the symbol `infix'.

    `infix'
          Insert the separator between list elements.  An empty string
          will produce an empty list.

    `string-infix'
          Like `infix', but will raise an error if given the empty list.

    `suffix'
          Insert the separator after every list element.

    `prefix'
          Insert the separator before each list element.

This left me wondering what the default delimiter was; I could tell it
was a single space by experimentation but didn't know if this was
specified or merely happenstance.  SRFI 13 explicitly says that it
defaults to a single space
(http://srfi.schemers.org/srfi-13/srfi-13.html#List2String).  I think it
would be helpful if the Guile documentation said so too.

Thanks,

-- 
Colin Watson                                       [cjwat...@debian.org]



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to