Comments (4)
I've created a small PR to update those examples:
from rescript-lang.org.
Can you point me to the API docs?
I am pretty sure the %obj()
syntax is obsolete for ReScript code, because we have dedicated JS object syntax for that.
from rescript-lang.org.
Hi @ryyppy, it's currently used in a couple of spots:
https://rescript-lang.org/docs/manual/latest/api/js/obj#assign
https://rescript-lang.org/docs/manual/latest/api/js#object
from rescript-lang.org.
Fixed in #138
from rescript-lang.org.
Related Issues (20)
- Document v11 features. HOT 7
- rescript-highlightjs %% broken formatting
- The syntax lookup page doesn't describe loops
- Inconsistent Array behavior
- Playground: Recursive tree with polymorphic variants blows up the stack HOT 3
- Add documentation for rescript format / the formatter in general
- Playground: Open RescriptCore by default HOT 2
- Document reanalyze
- rescript@11-rc4: gentype output does not respect @tag for tagged variants HOT 2
- Unnecessary cases created in switch HOT 2
- Variants: Expand section about coercion
- Variants: Add section about variant spread
- Variants: Add section about the "catch all" trick
- Variants: Add list about all types that can be unboxed
- Migration Guide V10 -> V11 HOT 1
- Package specs are not resepected by the compiler HOT 2
- Integrate genType docs into main docs as "TypeScript interop" HOT 2
- Update react docs to newest api
- add padding/margin left to the docs page(mobile) HOT 2
- "Copy code" button in Playground for generated JS? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rescript-lang.org.