Backup
This commit is contained in:
@@ -1,14 +1,21 @@
|
||||
;(test-begin "docstring")
|
||||
|
||||
|
||||
(define (plus a b)
|
||||
(docstring "Adds a to b")
|
||||
(doc-string "Add a to b")
|
||||
(+ a b))
|
||||
|
||||
(plus 1 2)
|
||||
(write (doc plus))
|
||||
|
||||
(define (minus a b)
|
||||
(- a b))
|
||||
|
||||
(write (plus 1 1))
|
||||
(newline)
|
||||
(display (doc plus))
|
||||
(newline)
|
||||
|
||||
|
||||
(write (minus 1 1))
|
||||
(newline)
|
||||
(display (doc minus))
|
||||
(newline)
|
||||
|
||||
;(test-end "docstring")
|
||||
|
||||
Reference in New Issue
Block a user