1
1
mirror of https://github.com/tweag/nickel.git synced 2024-10-05 07:37:09 +03:00
Commit Graph

112 Commits

Author SHA1 Message Date
Yann Hamdaoui
1ed859e087 Add a correctness section to the manual 2022-02-17 18:29:54 +01:00
francois-caddet
3dfe865670 contracts and annotation case when merging 2022-02-09 14:29:11 +01:00
francois-caddet
829b48a3d8 update records merging manual. 2022-02-08 11:16:13 +01:00
Anthony Caccia
8da4b9b453 doc/syntax: fix example of failed multiline string interpolation 2022-02-07 13:44:59 +01:00
Anthony Caccia
d1393a617b doc/syntax: remove unnecessary explanation in if-then-else 2022-02-07 13:38:43 +01:00
Anthony Caccia
60cf06808b doc/syntax: fix example in records where field was missing a value 2022-02-07 13:35:52 +01:00
Anthony Caccia
164d7c43fd doc/syntax: change all separated by to separated with, for consistency 2022-02-07 13:32:33 +01:00
Acaccia
bc1bba46da
doc/syntax: apply suggestions/rephraisings/formatting from code review
Co-authored-by: Yann Hamdaoui <yann.hamdaoui@gmail.com>
2022-02-07 13:19:35 +01:00
Anthony Caccia
a0b0d06056 doc/syntax: add a merge example for the "default" metadata 2022-01-27 14:45:01 +01:00
Anthony Caccia
fc4ea27d3e doc/syntax: add a bit about accessing records fields from vars 2022-01-27 14:41:13 +01:00
Anthony Caccia
8eb44ebcc1 doc/syntax: add more about multiline strings 2022-01-27 14:36:52 +01:00
Anthony Caccia
83762453ef doc/syntax: no truth table, it was a lie 2022-01-25 15:09:16 +01:00
Anthony Caccia
bf354893c5 doc/syntax: extend function section with operators prefix notation and pipe operator 2022-01-25 14:47:43 +01:00
Anthony Caccia
e7155d965f doc/syntax: rephrase the evaluation of if-then-else + example 2022-01-25 13:41:50 +01:00
Anthony Caccia
96a60c2fd2 doc/syntax: add an example of "if-construct" used as an expression 2022-01-25 13:28:18 +01:00
Anthony Caccia
2be0de2890 doc/syntax: statement replaced by construct, as nickel as no statements 2022-01-25 13:26:47 +01:00
Anthony Caccia
e40b76c13f doc/syntax: add a multiline string with indentation in examples 2022-01-25 13:25:10 +01:00
Acaccia
db3683ace9
doc/syntax: multiple corrections from code review
Co-authored-by: Yann Hamdaoui <yann.hamdaoui@gmail.com>
2022-01-25 12:45:20 +01:00
francois-caddet
5df7f7593e doc update 2022-01-24 16:07:09 -05:00
Anthony Caccia
fee4997bbf doc/syntax: add note about merging in records 2022-01-24 11:50:23 +01:00
Anthony Caccia
63a999a5d8 doc/syntax: add section about metadata 2022-01-24 11:46:15 +01:00
Anthony Caccia
3a672ccdb7 doc/syntax: move typing from let-in to its own header 2022-01-24 10:50:49 +01:00
Anthony Caccia
7ef09da588 doc/syntax: add examples in records of pieces syntax 2022-01-24 10:40:43 +01:00
Anthony Caccia
ce9fbb5102 doc/syntax: try to rephrase "to be equal, they need to be equal" 2022-01-24 10:33:45 +01:00
Anthony Caccia
a345ccea61 doc/syntax: add doc for string interpolation 2022-01-24 10:31:05 +01:00
Anthony Caccia
849381931c doc/syntax: introduce "field" instead of "key" for records and remove inexact merge section 2022-01-24 10:25:22 +01:00
Anthony Caccia
9bcf264c67 doc/syntax: add a remark about the subtract operator and a table of precedence for num ops 2022-01-24 10:17:34 +01:00
francois-caddet
9e4cffe5ec
Apply suggestions from code review
manual clarifications and typos fixing

Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2022-01-20 16:44:28 +01:00
Acaccia
441a130712
doc/syntax: Apply rewording / spelling suggestions from code review
Co-authored-by: Yann Hamdaoui <yann.hamdaoui@gmail.com>
Co-authored-by: Avi Dessauer <avi.the.coder@gmail.com>
2022-01-20 11:47:05 +01:00
francois-caddet
a77e571780
Apply suggestions from code review
Typo fixes

Co-authored-by: Avi Dessauer <avi.the.coder@gmail.com>
2022-01-19 16:29:11 +01:00
francois-caddet
411aa10f21 add exemple on contracts merging 2022-01-18 10:38:52 -05:00
Anthony Caccia
185f0f49de Add typing syntax note in syntax doc 2022-01-18 13:38:51 +01:00
Anthony Caccia
7d137da4ea remove switch and enum from syntax doc 2022-01-18 13:35:11 +01:00
Anthony Caccia
8cd1d25920 add statements and functions in doc syntax 2022-01-18 10:09:04 +01:00
francois-caddet
56ccbc39e5 Doccument records overwriting in the manual. 2022-01-17 11:27:46 -05:00
Anthony Caccia
1849add459 added section about records 2022-01-17 16:45:35 +01:00
francois-caddet
2a1c952f5d begining of manuals merging part 2022-01-17 09:16:31 -05:00
Anthony Caccia
1c47858072 add section about lists 2022-01-17 14:10:52 +01:00
Anthony Caccia
b30c434e98 add section about equality operators 2022-01-17 14:04:22 +01:00
Anthony Caccia
c53197eab2 syntax doc: add layout + doc about basic types 2022-01-14 14:56:39 +01:00
Yann Hamdaoui
7fe73a4c1a Another pass on the typing manual section 2022-01-04 12:50:28 +01:00
Yann Hamdaoui
30f3e942c6 Another pass on the section on typing 2022-01-03 18:47:08 +01:00
Yann Hamdaoui
21d5599374 Rework after @aspiwack's second review 2021-12-30 18:42:14 +01:00
Yann Hamdaoui
e18492f739
Update doc/manual/typing.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2021-12-30 15:41:49 +01:00
Yann Hamdaoui
d87d4149a5
Update doc/manual/typing.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2021-12-30 15:08:34 +01:00
Yann Hamdaoui
c282837f28
Update doc/manual/typing.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2021-12-30 15:08:17 +01:00
Yann Hamdaoui
99fc9473e8
Update doc/manual/typing.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2021-12-30 15:07:59 +01:00
Yann Hamdaoui
a0f3a186f0
Update doc/manual/typing.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2021-12-30 15:07:45 +01:00
Yann Hamdaoui
2b910104e1
Update doc/manual/cookbook.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2021-12-30 15:07:32 +01:00
Yann Hamdaoui
8a75796411 Pass on the typing section 2021-12-15 12:20:22 +01:00
Yann Hamdaoui
e7ea777eb7 WIP update typing with opaque types 2021-12-14 18:22:51 +01:00
Yann Hamdaoui
721eed9c73 Remove section on performance, separate typing of record library 2021-12-14 16:44:22 +01:00
Yann Hamdaoui
c742fe47b7 Remove old text 2021-12-14 15:58:18 +01:00
Yann Hamdaoui
d04a8580df Fix example 2021-12-14 15:53:35 +01:00
Yann Hamdaoui
7fcc8a741a Rework of the typing manuel after @aspiwack's review 2021-12-14 15:50:30 +01:00
Yann Hamdaoui
297f4a51b9
Update doc/manual/typing.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2021-12-08 17:16:20 +01:00
Yann Hamdaoui
f968689cb0
Update doc/manual/typing.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2021-12-08 17:09:49 +01:00
Yann Hamdaoui
5bc7b912f3
Update doc/manual/typing.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2021-12-08 17:08:27 +01:00
Yann Hamdaoui
8fbc6b2ad5
Update doc/manual/typing.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2021-12-08 17:06:23 +01:00
Yann Hamdaoui
2beb885a40
Update doc/manual/types-vs-contracts.md 2021-12-07 20:51:33 +01:00
Yann Hamdaoui
80c3335447 Update type vs contracts guide 2021-12-07 17:20:29 +01:00
Yann Hamdaoui
ce233e725e Fill missing examples and eval results + various rework 2021-12-07 16:59:15 +01:00