1
1
mirror of https://github.com/tweag/nickel.git synced 2024-09-20 08:05:15 +03:00
Commit Graph

1901 Commits

Author SHA1 Message Date
Avi Dessauer
81cca83008 This change allows the criterion-compare-action to pass
It needs to be merged prior to #529
2022-01-01 00:02:06 -05:00
GitHub Actions
c6a3164b3c Update nightly Rust channel [ci skip] 2022-01-01 01:48:12 +00:00
GitHub Actions
ed4ee5aba1 Update nightly Rust channel [ci skip] 2021-12-31 01:47:54 +00:00
Yann Hamdaoui
cfb2821ff6
Merge pull request #330 from tweag/doc/overriding-proposal
[RFC]Overriding
2021-12-30 19:08:25 +01:00
Yann Hamdaoui
40d2952a7b
Update overriding.md 2021-12-30 19:05:48 +01:00
GitHub Actions
9f01387140 Update nightly Rust channel [ci skip] 2021-12-30 01:45:29 +00:00
GitHub Actions
df33c022c3 [auto]Update the Nickel WASM REPL [ci-skip] 2021-12-29 19:36:26 +00:00
Mathieu Boespflug
033ed3314b
Merge pull request #518 from tweag/snake_case
Switch to snake_case by convention for values
2021-12-29 20:30:24 +01:00
Yann Hamdaoui
c0c2fda81d
Update examples/record-contract/record-contract.ncl 2021-12-29 20:12:58 +01:00
Yann Hamdaoui
644fc7fa7c
Update examples/record-contract/record-contract.ncl 2021-12-29 19:44:38 +01:00
Mathieu Boespflug
db72002e9e Revert to camelCase names from Kubernetes schema
Add a pointer to original example.
2021-12-29 18:08:31 +02:00
Yann Hamdaoui
27dc6639a2
Merge pull request #520 from tweag/yannham-patch-1
Fix bad example in standardization meeting notes
2021-12-29 11:57:02 +01:00
GitHub Actions
2caf5dfc35 [auto]Update the Nickel WASM REPL [ci-skip] 2021-12-29 10:24:10 +00:00
Yann Hamdaoui
ab8ebced66
Merge pull request #519 from tweag/lowercase-doc-fix
Fix lists.lowercase docstring
2021-12-29 11:16:50 +01:00
Yann Hamdaoui
b7eb9d0906
Fix bad example in standardization meeting notes
The example about the lack of an `open_contract` primitive operation is not relevant. Probably a blind copy-paste.
2021-12-29 09:18:33 +01:00
GitHub Actions
95390ef1aa Update nightly Rust channel [ci skip] 2021-12-29 01:45:51 +00:00
Mathieu Boespflug
8ac99dc89b Fix lists.lowercase docstring
It was mentioning `uppercase` in the example instead of `lowercase`,
likely due to a bad copy/paste.
2021-12-28 23:48:07 +02:00
Mathieu Boespflug
b0e0311267 Switch to snake_case by convention for values
This renames all builtins and standard library functions to conform to
a snake case convention, as per decision recorded in #493. This also
adapts examples and tests to this change. All functions have been
renamed the way you'd expect, except the following:

* `fromPred` -> `from_predicate`
* `typeOf` -> `typeof` (like in C)
* `fieldsOf` -> `fields` (the `_of` is redundant for a function)
* `valuesOf` -> `values` (the `_of` is redundant for a function)

Closes #493
2021-12-28 23:40:49 +02:00
GitHub Actions
11b7fd392b [auto]Update the Nickel WASM REPL [ci-skip] 2021-12-28 18:33:10 +00:00
Yann Hamdaoui
37c8063e91
Merge pull request #511 from tweag/fix/non-serializable-no-pos
Do not discard position after evaluation
2021-12-28 19:27:53 +01:00
Mathieu Boespflug
568af3a715
Merge pull request #515 from tweag/clippy-fixes
Various small fixes suggested by Clippy
2021-12-28 19:23:40 +01:00
Yann Hamdaoui
85b29373b9 Formatting 2021-12-28 18:19:38 +01:00
Mathieu Boespflug
5e6b27adb9 style: unnecessary match expressions
Found by Clippy
2021-12-28 17:58:54 +02:00
GitHub Actions
b7bc5dfc34 [auto]Update the Nickel WASM REPL [ci-skip] 2021-12-28 15:47:03 +00:00
Yann Hamdaoui
ca4ed72d80
Merge pull request #514 from tweag/style-wasm-naming
[Style] Use Wasm* instead of WASM*
2021-12-28 16:39:51 +01:00
Mathieu Boespflug
f205b4beea nit: redundant type conversion 2021-12-28 17:08:44 +02:00
Mathieu Boespflug
e6a6b47b76 style: Derive Default instance 2021-12-28 17:08:44 +02:00
Mathieu Boespflug
5e64bcc82d style: delete unnecessary borrow
found by Clippy
2021-12-28 17:08:44 +02:00
Mathieu Boespflug
26bd3210e3 style: Use if let where possible 2021-12-28 17:08:44 +02:00
Mathieu Boespflug
a31904bc27 Run cargo fix 2021-12-28 17:08:44 +02:00
GitHub Actions
bec8667a3a [auto]Update the Nickel WASM REPL [ci-skip] 2021-12-28 15:05:24 +00:00
Yann Hamdaoui
4b537ed8dc Revert WASM->Wasm for comment text 2021-12-28 16:02:03 +01:00
Yann Hamdaoui
1da36cb9c7
Merge pull request #513 from tweag/style-repl-naming
style: Use Repl* instead of REPL*
2021-12-28 15:58:44 +01:00
Yann Hamdaoui
da81f92a40 Fix capitalization of WASM 2021-12-28 15:42:00 +01:00
Yann Hamdaoui
ce259742b7 Fix formatting 2021-12-28 15:32:31 +01:00
Mathieu Boespflug
6ecfadc41e style: Use Repl* instead of REPL*
In camelCase naming, acronyms do not remain fully capitalized unless
they are trivially short (like IO). This was pointed out by Clippy.

See https://rust-lang.github.io/api-guidelines/naming.html
2021-12-28 16:09:21 +02:00
Yann Hamdaoui
be1c4fb987 Formatting 2021-12-28 13:55:23 +01:00
Yann Hamdaoui
8ec4c6ff9c Fix WASM build 2021-12-28 10:30:35 +01:00
Yann Hamdaoui
f58703c650 Consistent style 2021-12-28 10:21:54 +01:00
Yann Hamdaoui
966aeca30a Do not discard position after evaluation 2021-12-28 10:08:02 +01:00
GitHub Actions
66ba798da1 Update nightly Rust channel [ci skip] 2021-12-27 01:49:11 +00:00
GitHub Actions
fb48c24cf3 Update nightly Rust channel [ci skip] 2021-12-26 01:51:21 +00:00
GitHub Actions
d16994b4ab [auto]Update the Nickel WASM REPL [ci-skip] 2021-12-25 21:19:40 +00:00
Yann Hamdaoui
07fb0b35b4
Merge pull request #507 from tweag/task/improve-callstack
Improve callstack handling
2021-12-25 22:11:44 +01:00
GitHub Actions
7c2a98bf8f Update nightly Rust channel [ci skip] 2021-12-25 01:48:31 +00:00
GitHub Actions
a8be15820f Update nightly Rust channel [ci skip] 2021-12-24 01:48:59 +00:00
GitHub Actions
a3afd8518e [auto]Update the Nickel WASM REPL [ci-skip] 2021-12-23 15:34:08 +00:00
Théophane Hufschmitt
b6c50e031c
Merge pull request #508 from tweag/task/ident-cleaning
[Style]Small refactor for identifiers
2021-12-23 16:28:07 +01:00
GitHub Actions
ef3227e52b Update nightly Rust channel [ci skip] 2021-12-23 01:46:30 +00:00
Yann Hamdaoui
c5352165ba Formatting 2021-12-22 21:50:13 +01:00