diff options
author | Eli Barzilay <eli@barzilay.org> | 2013-07-16 03:36:54 -0400 |
---|---|---|
committer | Eli Barzilay <eli@barzilay.org> | 2013-07-16 03:36:54 -0400 |
commit | 8f295f4e6893620181270a35a22d19926d98f626 (patch) | |
tree | 533297e88f0f4e7b19cff226ae6bb502ffbfbd2b /racket.html.markdown | |
parent | c11ec1f137eb4498818516ab408edb3cfae8317e (diff) |
`require' gets all bindings, not just functions.
Also, explain the ' use.
Diffstat (limited to 'racket.html.markdown')
-rw-r--r-- | racket.html.markdown | 4 |
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 |