summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEli Barzilay <eli@barzilay.org>2013-07-16 03:36:54 -0400
committerEli Barzilay <eli@barzilay.org>2013-07-16 03:36:54 -0400
commit8f295f4e6893620181270a35a22d19926d98f626 (patch)
tree533297e88f0f4e7b19cff226ae6bb502ffbfbd2b
parentc11ec1f137eb4498818516ab408edb3cfae8317e (diff)
`require' gets all bindings, not just functions.
Also, explain the ' use.
-rw-r--r--racket.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/racket.html.markdown b/racket.html.markdown
index 4b34fbef..ab7d3a69 100644
--- a/racket.html.markdown
+++ b/racket.html.markdown
@@ -436,8 +436,8 @@ vec ; => #(1 2 3 4)
(printf fmt (make-string n ch))
(newline)))
-;; Use `require' to import all functions from the module
-(require 'cake)
+;; Use `require' to get all `provide'd names from a module
+(require 'cake) ; the ' is for a local submodule
(print-cake 3)
; (show "~a" 1 #\A) ; => error, `show' was not exported