14 lines
289 B
Scheme
14 lines
289 B
Scheme
;;; A well-formatted Guile source file.
|
|
;;; This should produce zero surface diagnostics.
|
|
|
|
(define-module (test well-formatted)
|
|
#:export (greet add))
|
|
|
|
;; Greet a person by name.
|
|
(define (greet name)
|
|
(string-append "Hello, " name "!"))
|
|
|
|
;; Add two numbers.
|
|
(define (add a b)
|
|
(+ a b))
|