@greenlabs/ppx-spice 0.2.0-next.0 → 0.2.0
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/CHANGELOG.md +6 -0
- package/README.md +2 -0
- package/package.json +1 -1
- package/ppx-osx.exe +0 -0
- package/ppx-windows.exe +0 -0
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -74,6 +74,8 @@ type data = {
|
|
|
74
74
|
|
|
75
75
|
There are many cases to parse and stringify the string data into (polymorphic) variants. Furthermore, the Unicode string needs to be handled with a variant. Currently, pattern matching is not working for the Unicode string in ReScript, the Spice is using `if ... then ... else` to compare the Unicode string in case of adding `@spice.as` attribute.
|
|
76
76
|
|
|
77
|
+
3. Last but not least, Spice supports the latest ReScript compilers: v10's optional field record, v11's untagged variant, and more.
|
|
78
|
+
|
|
77
79
|
## Example
|
|
78
80
|
|
|
79
81
|
1. Variant
|
package/package.json
CHANGED
package/ppx-osx.exe
CHANGED
|
Binary file
|
package/ppx-windows.exe
CHANGED
|
Binary file
|