File: module-2.scm

package info (click to toggle)
guile-3.0 3.0.11-2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 35,268 kB
  • sloc: ansic: 186,093; lisp: 101,869; sh: 4,663; makefile: 1,857; awk: 239; javascript: 9
file content (28 lines) | stat: -rw-r--r-- 416 bytes parent folder | download | duplicates (24)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
;;; examples/modules/module-2.scm -- Module system demo.

;;; Commentary:

;;; Module 2 of the module demo program.

;;; Author: Martin Grabmueller
;;; Date: 2001-05-29

;;; Code:

(define-module (module-2))

(export foo bar braz)

(define (foo)
  (display "module-2 foo")
  (newline))

(define (bar)
  (display "module-2 bar")
  (newline))

(define (braz)
  (display "module-2 braz")
  (newline))

;;; End of file.