File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -75,8 +75,7 @@ <h3><a class="anchor" aria-hidden="true" id="what-is-bucklescript-and-rescript-a
7575< p > In July 2020, BuckleScript released its own syntax and rebranded to ReScript to be its own language. More infos can be found in their < a href ="https://rescript-lang.org/blog/bucklescript-is-rebranding "> official rebranding announcement</ a > .</ p >
7676< h3 > < a class ="anchor " aria-hidden ="true " id ="where-do-all-these-print_endline-string_of_int-functions-come-from "> </ a > < a href ="#where-do-all-these-print_endline-string_of_int-functions-come-from " aria-hidden ="true " class ="hash-link "> < svg class ="hash-link-icon " aria-hidden ="true " height ="16 " version ="1.1 " viewBox ="0 0 16 16 " width ="16 "> < path fill-rule ="evenodd " d ="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z "> </ path > </ svg > </ a > Where do all these < code > print_endline</ code > , < code > string_of_int</ code > functions come from?</ h3 >
7777< p > They're from the standard library, pre-< code > open</ code > ed during the compilation of your file. This is why you see them in scope.</ p >
78- < p > You can read more about the Pervasives library in the api documentation:</ p >
79- < p > < a href ="https://reasonml.github.io/api/Pervasives.html "> https://reasonml.github.io/api/Pervasives.html</ a > </ p >
78+ < p > You can read more about the Standard library in the < a href ="https://reasonml.github.io/api/Stdlib.html "> api documentation</ a > </ p >
8079< h3 > < a class ="anchor " aria-hidden ="true " id ="why-is-there-a-for-adding-ints-and-for-adding-floats-etc "> </ a > < a href ="#why-is-there-a-for-adding-ints-and-for-adding-floats-etc " aria-hidden ="true " class ="hash-link "> < svg class ="hash-link-icon " aria-hidden ="true " height ="16 " version ="1.1 " viewBox ="0 0 16 16 " width ="16 "> < path fill-rule ="evenodd " d ="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z "> </ path > </ svg > </ a > Why is there a + for adding ints and +. for adding floats, etc.?</ h3 >
8180< p > See < a href ="/docs/en/integer-and-float#design-decisions "> here</ a > .</ p >
8281< h3 > < a class ="anchor " aria-hidden ="true " id ="whats-the-merlin-file-at-the-root-of-my-project "> </ a > < a href ="#whats-the-merlin-file-at-the-root-of-my-project " aria-hidden ="true " class ="hash-link "> < svg class ="hash-link-icon " aria-hidden ="true " height ="16 " version ="1.1 " viewBox ="0 0 16 16 " width ="16 "> < path fill-rule ="evenodd " d ="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z "> </ path > </ svg > </ a > What's the < code > .merlin</ code > file at the root of my project?</ h3 >
Original file line number Diff line number Diff line change @@ -75,8 +75,7 @@ <h3><a class="anchor" aria-hidden="true" id="what-is-bucklescript-and-rescript-a
7575< p > In July 2020, BuckleScript released its own syntax and rebranded to ReScript to be its own language. More infos can be found in their < a href ="https://rescript-lang.org/blog/bucklescript-is-rebranding "> official rebranding announcement</ a > .</ p >
7676< h3 > < a class ="anchor " aria-hidden ="true " id ="where-do-all-these-print_endline-string_of_int-functions-come-from "> </ a > < a href ="#where-do-all-these-print_endline-string_of_int-functions-come-from " aria-hidden ="true " class ="hash-link "> < svg class ="hash-link-icon " aria-hidden ="true " height ="16 " version ="1.1 " viewBox ="0 0 16 16 " width ="16 "> < path fill-rule ="evenodd " d ="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z "> </ path > </ svg > </ a > Where do all these < code > print_endline</ code > , < code > string_of_int</ code > functions come from?</ h3 >
7777< p > They're from the standard library, pre-< code > open</ code > ed during the compilation of your file. This is why you see them in scope.</ p >
78- < p > You can read more about the Pervasives library in the api documentation:</ p >
79- < p > < a href ="https://reasonml.github.io/api/Pervasives.html "> https://reasonml.github.io/api/Pervasives.html</ a > </ p >
78+ < p > You can read more about the Standard library in the < a href ="https://reasonml.github.io/api/Stdlib.html "> api documentation</ a > </ p >
8079< h3 > < a class ="anchor " aria-hidden ="true " id ="why-is-there-a-for-adding-ints-and-for-adding-floats-etc "> </ a > < a href ="#why-is-there-a-for-adding-ints-and-for-adding-floats-etc " aria-hidden ="true " class ="hash-link "> < svg class ="hash-link-icon " aria-hidden ="true " height ="16 " version ="1.1 " viewBox ="0 0 16 16 " width ="16 "> < path fill-rule ="evenodd " d ="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z "> </ path > </ svg > </ a > Why is there a + for adding ints and +. for adding floats, etc.?</ h3 >
8180< p > See < a href ="/docs/en/integer-and-float#design-decisions "> here</ a > .</ p >
8281< h3 > < a class ="anchor " aria-hidden ="true " id ="whats-the-merlin-file-at-the-root-of-my-project "> </ a > < a href ="#whats-the-merlin-file-at-the-root-of-my-project " aria-hidden ="true " class ="hash-link "> < svg class ="hash-link-icon " aria-hidden ="true " height ="16 " version ="1.1 " viewBox ="0 0 16 16 " width ="16 "> < path fill-rule ="evenodd " d ="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z "> </ path > </ svg > </ a > What's the < code > .merlin</ code > file at the root of my project?</ h3 >
You can’t perform that action at this time.
0 commit comments