No subject
From: John (John)
Date: Mon Dec 3 19:58:15 EST 2012 |
|
s at racket-lang.org</a>><br>
Date: Tue, 1 Jan 2013 10:40:40 -0800<br>
Subject: [PATCH] added docs on requiring planet2 modules<br>
<br>
---<br>
=C2=A0collects/planet2/scribblings/planet2.scrbl | =C2=A0 14 ++++++++++++++=
<br>
=C2=A01 files changed, 14 insertions(+), 0 deletions(-)<br>
<br>
diff --git a/collects/planet2/scribblings/planet2.scrbl b/collects/planet2/=
scribblings/planet2.scrbl<br>
index e9e565a..81d6e58 100644<br>
--- a/collects/planet2/scribblings/planet2.scrbl<br>
+++ b/collects/planet2/scribblings/planet2.scrbl<br>
@@ -200,6 +200,20 @@ imply a change in the @tech{checksum}.<br>
<br>
=C2=A0 at section{Using Packages}<br>
<br>
+Modules installed using planet2 may be @tech{require}d like any other<br>
+modules. For instance, if the package @pkgname{recipes} contains<br>
+the module file =C2=A0 at filepath{vegan/fruitsalad.rkt}, then package users<=
br>
+who have this package installed may evaluate<br>
+<br>
+ at racketblock[(require vegan/fruitsalad)]<br>
+<br>
+...to require this module.<br>
+<br>
+@; ----------------------------------------<br>
+<br>
+ at section{Managing Packages}<br>
+<br>
+<br>
=C2=A0The Racket package manager has two user interfaces: a command line @e=
xec{raco}<br>
=C2=A0sub-command and a library. They have the exact same capabilities, as<=
br>
=C2=A0the command line interface invokes the library functions and<br>
<span class=3D"HOEnZb"><font color=3D"#888888">--<br>
1.7.7.5 (Apple Git-26)<br>
<br>
<br>
</font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <b=
r>Jay McCarthy <<a href=3D"mailto:jay at cs.byu.edu" target=3D"_blank">jay@=
cs.byu.edu</a>><br>Assistant Professor / Brigham Young University<br><a =
href=3D"http://faculty.cs.byu.edu/~jay" target=3D"_blank">http://faculty.cs=
.byu.edu/~jay</a><br>
<br>"The glory of God is Intelligence" - D&C 93
</div>
--20cf307f380a90393904d2541375--