-
Notifications
You must be signed in to change notification settings - Fork 465
/
Copy pathintro.txt
37 lines (23 loc) · 907 Bytes
/
intro.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{!indexlist}
{1 Libraries shipped with ReScript}
ReScript is mostly a compiler, but it does ship some libraries for users' convenience
{2 4 libraries}
{!Js}
This library are mostly {i bindings} to JS, it should work with both NodeJS and Browser.
It is strongly recommended to use qualified name instead of flatten module name.
For example
{[
[| 1; 2 ; 3 |]
|> Js.Array.map (fun x -> x + 1 )
|> Js.log
]}
{!Belt}
The ReScript standard library ({b beta}).
ReScript also ships the vanilla OCaml standard library.
@see <https://caml.inria.fr/pub/docs/manual-ocaml-4.02/stdlib.html> OCaml standard library
{!Node}
This library contains bindings to NodeJS, it is still work in progress, use it with care,
and we may break API backward compatiblity in the future.
{!Dom}
This library are for DOM API, currently it only defines some
types for diferent packages to talk to each other