squint-cljs 0.14.201 → 0.14.203
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/lib/cli.js +115 -113
- package/lib/cljs.pprint.js +262 -262
- package/lib/compiler.js +1400 -1367
- package/lib/compiler.node.js +45 -45
- package/lib/compiler.sci.js +1280 -1281
- package/lib/node.nrepl_server.js +29 -29
- package/lib/squint.core.umd.js +5 -3
- package/package.json +3 -1
- package/src/squint/core.js +743 -51
- package/src/squint/multi.js +9 -1
- package/src/squint/record.js +103 -0
- package/src/squint/set.js +142 -46
package/README.md
CHANGED
|
@@ -73,6 +73,9 @@ need the extra performance, startup time and/or small bundle size.
|
|
|
73
73
|
and `js/await` are still accepted.
|
|
74
74
|
- `assoc!`, `dissoc!`, `conj!`, etc. perform in place mutation on objects
|
|
75
75
|
- `assoc`, `dissoc`, `conj`, etc. return a new shallow copy of objects
|
|
76
|
+
- `equiv` compares by identity or `-equiv`, unlike `=`, which deep-compares
|
|
77
|
+
plain data. `hash` follows `equiv`: plain mutable objects and arrays hash
|
|
78
|
+
by reference
|
|
76
79
|
- `pr-str` and `prn` print EDN with the idea that you can paste the output back into your programs
|
|
77
80
|
- JavaScript `Map`s are printed like maps with a `#js/Map` prefix
|
|
78
81
|
- Since JavaScript only supports strings for keys in maps, any data structures used as keys will be stringified
|