-
Instead of doing a chain of if else if statements I think the justfile syntax would be cleaner if it supported pattern matching
```just
kubectl "staging" "app" *args:
Kubectl --context=dhdhdjd -n d…
-
Breaking out from issue #18, with pull request #38
harro updated
2 months ago
-
The first part of this should be pretty easy: all we need to do is be able to match on pairs and zero.
The second part is matching user-defined types and is blocked by #47
-
we should a way to express something like this :
```smalltalk
pattern := {String repeat: 3 . 100 } asMatcher.
self assert: (pattern match: { '1' . '2' . '3' . 100}) isMatch.
self deny: (patter…
-
-
Given
```idris
test: (x,y : Nat) -> So (x < y) -> Bool
test x y z = ?test_rhs_1
```
and matching on z gives
```idris
test: (x,y : Nat) -> So (x < y) -> Bool
test _ _ Oh impossible
```…
-
Provide a meaningful example of javaslang's structural pattern matching, exploring its benefits.
-
BPO | [45483](https://bugs.python.org/issue45483)
--- | :---
Nosy | @rhettinger, @GalaxySnail
*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the …
-
child of https://github.com/checkstyle/checkstyle/issues/14961
I have read check documentation:https://checkstyle.org/checks/metrics/javancss.html#JavaNCSS
I have downloaded the latest checkstyle …
-
Example code:
```cs
class MyClass
{
void M(IReadOnlyList ints)
{
if (ints.First() == 1)
{
}
}
}
```
Expected fix:
```cs
class MyClass
{
void M…