Skip to content
Browse files

Swapped Map for Attributes in zipper documentation (issue #74)

  • Loading branch information...
1 parent 0ed7a94 commit c3fc37444ef6c56f62d1ef3b6e582f71b23bd15f @djspiewak committed Dec 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/zippers.txt
View
2 src/zippers.txt
@@ -32,7 +32,7 @@ but it's easy enough to derive a new version of ``results`` which has the
modification::
val results = xml \ "book"
- val book2 = results.head.copy(attrs=Map("first" -> "yes"))
+ val book2 = results.head.copy(attrs=Attributes("first" -> "yes"))
val results2 = results.updated(0, book2)
The ``results2`` variable will be of type ``Group[Elem]`` and will contain exactly

0 comments on commit c3fc374

Please sign in to comment.
Something went wrong with that request. Please try again.