Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9ebe646

Browse files
author
Ryan Neufeld
committed
Merge remote-tracking branch 'atlas/master'
2 parents cff0057 + 149fe87 commit 9ebe646

File tree

5 files changed

+61
-57
lines changed

5 files changed

+61
-57
lines changed

02_composite-data/2-22_multiple-values/2-22_multiple-values.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ reimplement any of the core map methods (+assoc+, +dissoc+, etc.). It is only th
124124
semantics of the new behavior that differ from those of regular maps. Clojure defines very strong semantics around core
125125
functions. Breaking or overriding these expectations is always a bad
126126
idea, especially when using a distinct set of functions makes it clear
127-
when multimap functionality is being used.((("Clojure", "clojure.lang.Associative")))
127+
when multimap functionality is being used.((("Clojure", "clojure.lang.Associative", id="ix_cloj-lang-assoc", range="startofrange")))
128128

129129
The concrete implementation of +MultiAssociative+ extends the protocol
130130
to the +clojure.lang.Associative+ interface. It would certainly be
@@ -166,7 +166,7 @@ can be read with +get-all+, and values inserted using +insert+ can be
166166
removed with +dissoc+. All expectations regarding normal maps should
167167
hold. In the case of a normal +get+ on a key with multiple values, a
168168
set containing multiple items will be returned. This is probably what
169-
the user would expect upon inspecting the data.((("Clojure", "clojure.lang.Associative")))
169+
the user would expect upon inspecting the data.(((range="endofrange", startref="ix_cloj-lang-assoc")))
170170

171171
There is one more feature of this code that deserves commentary: the
172172
use of +::multi-value+ metadata on the sets used to store multiple

04_local-io/4-19_handle-binary-files.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ prepare it for reading and writing, respectively.
120120
==== See Also
121121

122122
- For more details on +ByteBuffer+, which plays a key role in Java's NIO
123-
library, see the http:/bit.ly/javadoc-nio[Java NIO documentation] or pass:[<emphasis><ulink role="orm:hideurl" url="http://shop.oreilly.com/product/9780596002886.do">Java NIO</ulink></emphasis>] by Ron Hitchens (O'Reilly).
123+
library, see the http://bit.ly/javadoc-nio[Java NIO documentation] or pass:[<emphasis><ulink role="orm:hideurl" url="http://shop.oreilly.com/product/9780596002886.do">Java NIO</ulink></emphasis>] by Ron Hitchens (O'Reilly).
124124

125125
- The Clojure library https://github.com/geoffsalmon/bytebuffer[+bytebuffer+] provides a
126126
thin, more idiomatic wrapper for +ByteBuffer+ operations.

book-docinfo.xml

Lines changed: 57 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,57 @@
1-
2-
3-
<othercredit role="proofreader">
4-
<firstname>Rachel</firstname>
5-
<surname>Head</surname>
6-
</othercredit>
7-
<othercredit role="illustrator">
8-
<firstname>Rebecca</firstname>
9-
<surname>Demarest</surname>
10-
</othercredit>
11-
12-
<!-- All rights reserved. -->
13-
14-
<publisher>
15-
<publishername>O’Reilly Media, Inc. </publishername>
16-
<address format="linespecific">
17-
<street>1005 Gravenstein Highway North</street>
18-
<city>Sebastopol</city>
19-
<state>CA</state>
20-
<postcode>95472</postcode>
21-
</address>
22-
</publisher>
23-
24-
<legalnotice role="printlocation">
25-
<para>Printed in the United States of America.</para>
26-
</legalnotice>
27-
28-
<legalnotice role="printer">
29-
<para>[LSI]</para>
30-
</legalnotice>
31-
32-
<legalnotice role="use">
33-
<para>O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most
34-
titles (<ulink role="orm:hideurl:ital" url="http://my.safaribooksonline.com/?portal=oreilly">http://my.safaribooksonline.com</ulink>). For more information, contact our corporate/institutional sales department:
35-
800-998-9938 or <phrase role="keep-together"><email>[email protected]</email></phrase>.</para>
36-
</legalnotice>
37-
38-
<legalnotice role="trademarks">
39-
<para>Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo
40-
are registered trademarks of O’Reilly Media, Inc. <emphasis>Clojure Cookbook</emphasis>, the image of an aardwolf,
41-
and related trade dress are trademarks of O’Reilly Media, Inc. </para>
42-
<para>Many of the designations used by manufacturers and sellers to distinguish
43-
their products are claimed as trademarks. Where those designations appear
44-
in this book, and O’Reilly Media, Inc. was aware of a trademark claim,
45-
the designations have been printed in caps or initial caps. </para>
46-
</legalnotice>
47-
48-
<legalnotice role="damages">
49-
<para>While every precaution has been taken in the preparation of this book,
50-
the publisher and authors assume no responsibility for errors or omissions,
51-
or for damages resulting from the use of the information contained herein.</para>
52-
</legalnotice>
53-
<isbn>9781449366179</isbn><edition>1</edition><author><firstname>Luke</firstname><surname>VanderHart</surname><authorblurb><para><emphasis role="strong">Luke VanderHart</emphasis> is a Clojure and ClojureScript developer working with Cognitect, Inc. He is the coauthor of <emphasis>Practical Clojure</emphasis> (Apress, 2010) and <emphasis>ClojureScript: Up and Running</emphasis> (O'Reilly, 2012). He lives and works in Durham, NC.</para></authorblurb></author><author><firstname>Ryan</firstname><surname>Neufeld</surname><authorblurb><para><emphasis role="strong">Ryan Neufeld</emphasis> is a polyglot software developer and budding architect specializing in distributed systems and web applications. Whether it's tough technical issues or one of the softer elements of software engineering, Ryan relishes the opportunity to deliver results for customers. Ryan currently lives in Durham, NC where he works as a developer at Cognitect, Inc.</para></authorblurb></author><editor><firstname>Meghan</firstname><surname>Blanchette</surname></editor><copyright><year>2014</year><holder>Cognitect, Inc</holder></copyright><editor role="production"><firstname>Kristen</firstname><surname>Brown</surname></editor><editor role="copy"><firstname>Amanda</firstname><surname>Kersey</surname></editor><othercredit role="indexer"><firstname>Judith</firstname><surname>McConville</surname></othercredit><othercredit role="coverdesigner"><firstname>Karen</firstname><surname>Montgomery</surname></othercredit><othercredit role="interiordesigner"><firstname>David</firstname><surname>Futato</surname></othercredit><printhistory><formalpara><title>First Edition</title><para>March, 2014</para></formalpara></printhistory><revhistory><revision><date>2014-02-28</date><revremark>First release</revremark></revision></revhistory><legalnotice role="perfect"><para/></legalnotice>
1+
2+
3+
<othercredit role="proofreader">
4+
<firstname>Rachel</firstname>
5+
<surname>Head</surname>
6+
</othercredit>
7+
<othercredit role="illustrator">
8+
<firstname>Rebecca</firstname>
9+
<surname>Demarest</surname>
10+
</othercredit>
11+
12+
<!-- All rights reserved. -->
13+
14+
<publisher>
15+
<publishername>O’Reilly Media, Inc. </publishername>
16+
<address format="linespecific">
17+
<street>1005 Gravenstein Highway North</street>
18+
<city>Sebastopol</city>
19+
<state>CA</state>
20+
<postcode>95472</postcode>
21+
</address>
22+
</publisher>
23+
24+
<legalnotice role="printlocation">
25+
<para>Printed in the United States of America.</para>
26+
</legalnotice>
27+
28+
<legalnotice role="printer">
29+
<para>[LSI]</para>
30+
</legalnotice>
31+
32+
<legalnotice role="use">
33+
<para>O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most
34+
titles (<ulink role="orm:hideurl:ital" url="http://my.safaribooksonline.com/?portal=oreilly">http://my.safaribooksonline.com</ulink>). For more information, contact our corporate/institutional sales department:
35+
800-998-9938 or <phrase role="keep-together"><email>[email protected]</email></phrase>.</para>
36+
</legalnotice>
37+
38+
<legalnotice role="trademarks">
39+
<para>Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo
40+
are registered trademarks of O’Reilly Media, Inc. <emphasis>Clojure Cookbook</emphasis>, the image of an aardwolf,
41+
and related trade dress are trademarks of O’Reilly Media, Inc. </para>
42+
<para>Many of the designations used by manufacturers and sellers to distinguish
43+
their products are claimed as trademarks. Where those designations appear
44+
in this book, and O’Reilly Media, Inc. was aware of a trademark claim,
45+
the designations have been printed in caps or initial caps. </para>
46+
</legalnotice>
47+
48+
<legalnotice role="damages">
49+
<para>While every precaution has been taken in the preparation of this book,
50+
the publisher and authors assume no responsibility for errors or omissions,
51+
or for damages resulting from the use of the information contained herein.</para>
52+
</legalnotice>
53+
<isbn>9781449366179</isbn><edition>1</edition><author><firstname>Luke</firstname><surname>VanderHart</surname><authorblurb><para><emphasis role="strong">Luke VanderHart</emphasis> is a Clojure and ClojureScript developer working with Cognitect, Inc. He is the coauthor of <emphasis>Practical Clojure</emphasis> (Apress) and <ulink url="http://shop.oreilly.com/product/0636920025139.do" role="orm:hideurl"><emphasis>ClojureScript: Up and Running</emphasis></ulink> (O'Reilly). He lives and works in Durham, NC.</para></authorblurb></author><author><firstname>Ryan</firstname><surname>Neufeld</surname><authorblurb><para><emphasis role="strong">Ryan Neufeld</emphasis> is a polyglot software developer and budding architect specializing in distributed systems and web applications. Whether it's tough technical issues or one of the softer elements of software engineering, Ryan relishes the opportunity to deliver results for customers. Ryan currently lives in Durham, NC, where he works as a developer at Cognitect, Inc.</para></authorblurb></author><editor><firstname>Meghan</firstname><surname>Blanchette</surname></editor><copyright><year>2014</year><holder>Cognitect, Inc</holder></copyright><editor role="production"><firstname>Kristen</firstname><surname>Brown</surname></editor><editor role="copy"><firstname>Amanda</firstname><surname>Kersey</surname></editor><othercredit role="indexer"><firstname>Judith</firstname><surname>McConville</surname></othercredit><othercredit role="coverdesigner"><firstname>Karen</firstname><surname>Montgomery</surname></othercredit><othercredit role="interiordesigner"><firstname>David</firstname><surname>Futato</surname></othercredit><printhistory><formalpara><title>First Edition</title><para>March, 2014</para></formalpara></printhistory><revhistory><revision><date>2014-03-04</date><revremark>First release</revremark></revision></revhistory><legalnotice role="perfect"><para/><mediaobject role="cover"> <!-- source in the cover -->
54+
<imageobject role="front-large" remap="lrg">
55+
<imagedata format="PNG" fileref="images/cover.png"/>
56+
</imageobject>
57+
</mediaobject></legalnotice>

colo.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The animal on the cover of _Clojure Cookbook_ is an aardwolf (_Proteles cristata
55

66
Aardwolves have thick yellow or brown fur with dark stripes, with bushy tails and long manes that run along their necks and backs. The mane is used to make the aardwolves appear bigger and intimidate predators, since they are neither fast runners nor especially good fighters. They do have strong jaws, but their teeth have evolved for eating insects rather than attacking larger animals. They average 22&#x2013;31 inches long, and weigh 15&#x2013;22 pounds.
77

8-
The aardwolf is nocturnal, and sleeps in underground burrows during the day. These animals are very territorial, and use scent glands to mark the area containing their dens (a mating pair may claim and rotate through multiple burrows, only using one or two at a time). The breeding season occurs in late June/early July, with a litter of 2&#x2013;5 cubs born 90 days later.
8+
The aardwolf is nocturnal, and sleeps in underground burrows during the day. These animals are very territorial, and use scent glands to mark the area containing their dens (a mating pair may claim and rotate through multiple burrows, using only one or two at a time). The breeding season occurs in late June/early July, with a litter of 2&#x2013;5 cubs born 90 days later.
99

1010
Aardwolves are occasionally mistaken for hyenas and killed to protect livestock. However, many African farmers recognize the benefit of the animals in controlling the termite population and thus protecting crops. A single aardwolf can eat 200,000&#x2013;300,000 termites per night.
1111

images/cover.png

-394 KB
Loading

0 commit comments

Comments
 (0)