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

82 Commits

Author SHA1 Message Date
Yann Hamdaoui
f5779cd0ec Remove the Array alias for Array Dyn 2022-03-02 18:23:28 +01:00
Yann Hamdaoui
879856c51b renaming list -> array 2022-03-02 16:38:46 +01:00
francois-caddet
f4542ac1cf Merge branch 'master' into feature/hashtag_for_comment 2022-03-02 12:00:42 +01:00
francois-caddet
8dd7e0f4a8 Merge branch 'master' into feature/hashtag_for_comment 2022-02-25 12:58:57 +01:00
Yann Hamdaoui
9753deb776 Rename stdlib modules: remove trailing s 2022-02-25 12:41:54 +01:00
francois-caddet
6e5fcf8a70 update missings % in the manual 2022-02-24 09:42:47 +01:00
francois-caddet
a44bb379c4 update manual/syntax % syntax 2022-02-24 09:34:55 +01:00
Yann Hamdaoui
99a0925e76 Update doc and comments to use the uniterm syntax 2022-02-23 10:31:52 +01:00
Yann Hamdaoui
b4914a53cb
Merge pull request #610 from tweag/manual/contracts-yann
[User manual] Contracts
2022-02-23 10:30:49 +01:00
Yann Hamdaoui
67cd14cdb7
Update doc/manual/contracts.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2022-02-23 09:27:37 +01:00
Yann Hamdaoui
b7ecb08536
Update doc/manual/contracts.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2022-02-23 09:21:37 +01:00
Yann Hamdaoui
9aa7cbfed7 Add an example of failing contract 2022-02-22 15:47:29 +01:00
Yann Hamdaoui
945547982f Address review comments on contract section 2022-02-22 15:47:29 +01:00
Yann Hamdaoui
71a2c40eac
Update doc/manual/contracts.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2022-02-22 14:57:09 +01:00
Yann Hamdaoui
17df016e75 Remove confusing higher-order contract expression in the manual 2022-02-22 14:55:06 +01:00
Yann Hamdaoui
d26b38fa21 Rework the correctness section to address review 2022-02-22 14:52:24 +01:00
Yann Hamdaoui
ca42a15be0
Update doc/manual/contracts.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2022-02-18 18:01:54 +01:00
Yann Hamdaoui
e7feb4de38
Update doc/manual/contracts.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2022-02-18 16:42:16 +01:00
Yann Hamdaoui
481c6f6739
Update doc/manual/contracts.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2022-02-18 16:31:36 +01:00
Yann Hamdaoui
9587bcb7af
Update doc/manual/contracts.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2022-02-18 16:31:30 +01:00
Yann Hamdaoui
1d936c5877
Update doc/manual/contracts.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2022-02-18 16:24:08 +01:00
Yann Hamdaoui
d79573d950
Update doc/manual/contracts.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2022-02-18 16:23:39 +01:00
Yann Hamdaoui
efd5e414d5
Update doc/manual/correctness.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2022-02-18 16:18:47 +01:00
Yann Hamdaoui
a787810cec
Update doc/manual/correctness.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
2022-02-18 16:17:08 +01:00
Yann Hamdaoui
0ff40a7085 Rework of the correctness section of the manual 2022-02-17 19:23:32 +01:00
Yann Hamdaoui
6cf56df2fd Manual: typos/wording in contracts and correctness 2022-02-17 18:59:13 +01:00
Yann Hamdaoui
06cc2a9c82 Add ref to the correctness sec to the typing sec 2022-02-17 18:30:18 +01:00
Yann Hamdaoui
ecf22b5c4a Add a contracts section to the manual 2022-02-17 18:30:06 +01:00
Yann Hamdaoui
1ed859e087 Add a correctness section to the manual 2022-02-17 18:29:54 +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
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