Email list hosting service & mailing list manager


#; syntax Aubrey Jaffer 05 Jan 2005 00:21 UTC

The SCM Scheme implementation uses the "#;" syntax in a manner
incompatible with SRFI-62:

http://swiss.csail.mit.edu/~jaffer/scm_4.html#SEC55

4.8.3 Documentation and Comments
--------------------------------

 -- procedure: procedure-documentation proc
     Returns the documentation string of PROC if it exists, or `#f' if
     not.

     If the body of a `lambda' (or the definition of a procedure) has
     more than one expression, and the first expression (preceeding any
     internal definitions) is a string, then that string is the
     "documentation string" of that procedure.

          (procedure-documentation (lambda (x) "Identity" x))
          => "Identity"
          (define (square x)
              "Return the square of X."
              (* x x))
          => #<unspecified>
          (procedure-documentation square)
          => "Return the square of X."

 -- Function: comment string1 ...
     Appends STRING1 ... to the strings given as arguments to previous
     calls `comment'.

 -- Function: comment
     Returns the (appended) strings given as arguments to previous calls
     `comment' and empties the current string collection.

 -- Load syntax: #;text-till-end-of-line
     Behaves as `(comment "TEXT-TILL-END-OF-LINE")'.