gdritter repos s-cargot / feb1da8
Merge branch 'master' of github.com:aisamanra/s-cargot Getty Ritter 7 years ago
1 changed file(s) with 2 addition(s) and 3 deletion(s). Collapse all Expand all
7878 ~~~~.haskell
7979 >>> import Data.SCargot.Repr.Basic
8080 >>> A 2 ::: A 3 ::: A 4 ::: Nil
81 SCons (SAtom 2) (SCons (SAtom 3) (SComs (SAtom 4) SNil))
81 SCons (SAtom 2) (SCons (SAtom 3) (SCons (SAtom 4) SNil))
8282 ~~~~
8383
8484 ~~~~.haskell
9797 ~~~~.haskell
9898 >>> import Data.SCargot.Repr.Basic
9999 >>> L [ A 2, A 3, A 4 ]
100 SCons (SAtom 2) (SCons (SAtom 3) (SComs (SAtom 4) SNil))
100 SCons (SAtom 2) (SCons (SAtom 3) (SCons (SAtom 4) SNil))
101101 ~~~~
102102
103103 ## Atom Types
171171
172172 ~~~~.haskell
173173 import Data.Char (isDigit)
174 import Data.SCargot.General
175174 import Data.Text (Text)
176175 import qualified Data.Text as T
177176