-
Normally when a function has multiple arguments one can pattern match with multiple arguments like this:
```unison
test: Nat -> Nat -> Nat
test = cases x, y -> x + y
> test 1 2
```
But onc…
-
### Current Behavior
@JamesHenry
I publish a first release of a library `@XXXX/YYY-YYY/v0.1.0` with this command was generated and published successfully
`nx release --projects YYY-YYY --first…
-
### Description
In the docs, there seems to only be support for a single pattern to match and then do an action:
```
app.message(':wave:', async ({ message, say}) => {
say(`Hello, `);
});…
-
**Bug Report**
When trying to use pattern matching statements that contain list-type matches mypy emits bogus "unreachable" errors.
**To Reproduce**
The following code
```python
fr…
-
### Steps to reproduce
```console
wwctl node add node[00-09]
wwctl node list node[00-09]
NODE NAME PROFILES NETWORK
==============================================…
-
My concern with using `void` for this purpose in pattern matching, e.g. this example:
```
match (obj) {
{x: void, y: void, ...rest}: ...
}
```
Is that in this context, I believe a reasonab…
-
Is there a way to declare if the matching patterns for files valid/invalid are case-sensitive or not?
-
Type assertions work, but more general patterns would be nice. This is a decent way to allow extending definitions.
-
Hello!
It appears that currently, when we write:
```dart
class Generic {
final T value;
}
...
switch (Generic()) {
case Generic(:final value?):
}
```
then `value` is inferred as…
-
Given a string text and a pattern, evaluate if a given text string matches a specified pattern utilizing special characters for pattern matching. The pattern matching should adhere to the following ru…