Merge branch 'master' of github.com:aisamanra/s-cargot
Getty Ritter
7 years ago
78 | 78 | ~~~~.haskell |
79 | 79 | >>> import Data.SCargot.Repr.Basic |
80 | 80 | >>> A 2 ::: A 3 ::: A 4 ::: Nil |
81 |
SCons (SAtom 2) (SCons (SAtom 3) (SCo |
|
81 | SCons (SAtom 2) (SCons (SAtom 3) (SCons (SAtom 4) SNil)) | |
82 | 82 | ~~~~ |
83 | 83 | |
84 | 84 | ~~~~.haskell |
97 | 97 | ~~~~.haskell |
98 | 98 | >>> import Data.SCargot.Repr.Basic |
99 | 99 | >>> L [ A 2, A 3, A 4 ] |
100 |
SCons (SAtom 2) (SCons (SAtom 3) (SCo |
|
100 | SCons (SAtom 2) (SCons (SAtom 3) (SCons (SAtom 4) SNil)) | |
101 | 101 | ~~~~ |
102 | 102 | |
103 | 103 | ## Atom Types |
171 | 171 | |
172 | 172 | ~~~~.haskell |
173 | 173 | import Data.Char (isDigit) |
174 | import Data.SCargot.General | |
175 | 174 | import Data.Text (Text) |
176 | 175 | import qualified Data.Text as T |
177 | 176 |