aboutsummaryrefslogtreecommitdiffstats
path: root/examples/hello-world/hello-world.scm
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2025-04-10 18:58:23 -0400
committerGravatar Peter McGoron 2025-04-10 18:59:05 -0400
commitdc92aefa3a1725f1c1e9e15a0fe3a62d3a911192 (patch)
tree46a4cbcf0c0156ed0b1c92b828322a46099481aa /examples/hello-world/hello-world.scm
parentadd r7rs-pffi example (diff)
pffi guile example
Diffstat (limited to 'examples/hello-world/hello-world.scm')
-rw-r--r--examples/hello-world/hello-world.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/hello-world/hello-world.scm b/examples/hello-world/hello-world.scm
new file mode 100644
index 0000000..234a593
--- /dev/null
+++ b/examples/hello-world/hello-world.scm
@@ -0,0 +1,6 @@
+(define-library (hello-world)
+ (import (scheme base) (scheme write))
+ (export hello-world)
+ (begin
+ (define (hello-world)
+ (display "hello, world\n")))) \ No newline at end of file