Permalink
Browse files

[doc] refcard: typo

  • Loading branch information...
1 parent 320a1af commit 65ba9518f2cf86ecfc5128a3a29f47fb685e3d17 @Aqua-Ye Aqua-Ye committed May 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 opadoc/refcard.omd
View
@@ -190,9 +190,9 @@ While working with Opa you'll use records *a lot*. Therefore it's probably a goo
name = ...
age = ...
// '~field' within the record abbreviates 'field: field'
- person = { ~name ~age }
+ person = { ~name, ~age }
// one can even also abbreviate all fields by putting tilde in front of the record
- person2 = ~{ name age }
+ person2 = ~{ name, age }
// both 'person' and 'person2' are equivalent to
person3 = { name: name, age: age }

0 comments on commit 65ba951

Please sign in to comment.