From 8f295f4e6893620181270a35a22d19926d98f626 Mon Sep 17 00:00:00 2001 From: Eli Barzilay Date: Tue, 16 Jul 2013 03:36:54 -0400 Subject: `require' gets all bindings, not just functions. Also, explain the ' use. --- racket.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'racket.html.markdown') 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 -- cgit v1.2.3