1
1
mirror of https://github.com/tweag/nickel.git synced 2024-11-10 19:09:08 +03:00
nickel/rfcs
Yann Hamdaoui 2518b2ce3e
Change switch to match
This commit changes the keyword of the switch branching construct to a
match, to make room for future more advanced features like pattern
matching.

Also, the match is now curried, meaning it doesn't have to be applied to
an argument and `match {..cases..}` can be used directly as a function.
2022-12-08 16:20:13 +01:00
..
001-overriding.md Change switch to match 2022-12-08 16:20:13 +01:00
002-merge-types-terms-syntax.md Change switch to match 2022-12-08 16:20:13 +01:00
004-typechecking.md Remove trailing m from multiline strings (#979) 2022-12-08 14:29:55 +01:00
005-metadata-rework.md Remove trailing m from multiline strings (#979) 2022-12-08 14:29:55 +01:00