Rc24: So many things
Documentation:
- Document patterns for initialization. (Thanks @laduke)
Features:
-
toString
-
node inspect uses toString
-
toJSON
-
annotate (Internal)
- Used to traverse nested structures and produce custom output.
- Used for toJSON and toString/node inspect
-
decorate
- Adds many methods automatically to a stags instance
- Used internally for yslashn and tags
-
chain<case>
(e.g.chainY
) -
map<case>
(e.g.mapY
) -
is<case>
(e.g.isY
) -
get<case>Or
(e.g.getYOr
) -
get<case>With
(e.g.getYWith
)
-
tags
- A simpler constructor or unions.
- Will likely superceded tagged
-
topLevel Either
- Makes stags almost a util library.
- N
- Y
- getWith
- map
- mapN
- assertY
- assertN
- chainY
- chainN
- toBoolean
- encase
- all
- any
- isY
- is
- chain
- tagBy
- ys
- ns
- concatWith
-
More accurate error messages.
Edited by James