浏览代码

Merge pull request #5 from vaibhavsagar/patch-1

Update README.md
G. D. Ritter 7 年之前
父节点
当前提交
a5a2990c30
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -78,7 +78,7 @@ These names and patterns can be quite long, especially when you're constructing
 ~~~~.haskell
 >>> import Data.SCargot.Repr.Basic
 >>> A 2 ::: A 3 ::: A 4 ::: Nil
-SCons (SAtom 2) (SCons (SAtom 3) (SComs (SAtom 4) SNil))
+SCons (SAtom 2) (SCons (SAtom 3) (SCons (SAtom 4) SNil))
 ~~~~
 
 ~~~~.haskell
@@ -97,7 +97,7 @@ If you are using GHC 7.10 or later, several of these will be powerful bidirectio
 ~~~~.haskell
 >>> import Data.SCargot.Repr.Basic
 >>> L [ A 2, A 3, A 4 ]
-SCons (SAtom 2) (SCons (SAtom 3) (SComs (SAtom 4) SNil))
+SCons (SAtom 2) (SCons (SAtom 3) (SCons (SAtom 4) SNil))
 ~~~~
 
 ## Atom Types