summaryrefslogtreecommitdiff
path: root/sample/chapter1.nw
diff options
context:
space:
mode:
Diffstat (limited to 'sample/chapter1.nw')
-rw-r--r--sample/chapter1.nw15
1 files changed, 15 insertions, 0 deletions
diff --git a/sample/chapter1.nw b/sample/chapter1.nw
new file mode 100644
index 0000000..03a85b9
--- /dev/null
+++ b/sample/chapter1.nw
@@ -0,0 +1,15 @@
+% -*- mode: Noweb; noweb-code-mode: scheme-mode -*-
+
+% Noweb sample file, the first one \input in NW_CONTENTS
+
+\chapter{First sample chapter}
+
+Here you've got some code:
+
+<<sample.scm>>=
+
+(define identity (lambda (x) x))
+
+@ %def identity
+
+More text.