abff4fe02178

Fix docs
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 03 Nov 2017 23:48:31 -0400
parents 25f05d94b336
children 93a99efafe6f
branches/tags (none)
files docs/02-usage.markdown

Changes

--- a/docs/02-usage.markdown	Fri Nov 03 23:45:02 2017 -0400
+++ b/docs/02-usage.markdown	Fri Nov 03 23:48:31 2017 -0400
@@ -153,11 +153,11 @@
 
     :::lisp
     (define-rule (metal :distribution :weighted)
-      (10 iron)
-      (5 steel)
-      (2 silver)
-      (1 gold)
-      (1 platinum))
+      (10 :iron)
+      (5 :steel)
+      (2 :silver)
+      (1 :gold)
+      (1 :platinum))
 
 Weighting each term by hand can be tedious.  Chancery can automatically
 calculate weights based on the order of the body terms according to [Zipf's