-
In matching big subgraphs like attention, it is usually the case that we only care about re-routing the in-coming and out-going edges of the subgraph. Therefore, if we have a method to identify these …
-
### What is the problem this feature would solve?
Walls of unneeded lambdas when pattern matching harm readability. For example:
```ts
import { Data } from "effect"
type Example = Data.TaggedE…
samhh updated
2 weeks ago
-
See optima. (https://github.com/m2ym/optima) and miniKanren (http://minikanren.org).
PEG: see Janet. I use Ohm (ohmjs.org), but, it ain't Common Lisp. IMO, OhmJS is to textual programming what macr…
-
Allow side conditions in pattern matches:
```
| pat1 pat2 pat3 if condition := body
```
For example, allow to write
```
case lst of
| [x] if F x := B1
| [x] := B2
| _ := B3
```
instead of
…
-
## To Reproduce
```rs
let assert #([d, ..], ) = #([2, 3], )
```
## System Specs
Runtime: `erlang`
OS: `ubuntu` using `wsl` on `Windows 10`
Gleam version output:
```
$ gleam --version
…
-
this request comes from [discord](https://discord.com/channels/686053708261228577/1014259487445622855/1228383816171782166)
I find it a interesting way to extend filter capabilities in both dql and …
GottZ updated
1 month ago
-
With .NET 8, enum computed properties that use 'or' pattern matching returns different results that using the '||' operator.
It seems to be related with the way .NET 8 optimize the code using the '…
-
```civet
undo := => engine = Engine.fromJSON json if json? := history.pop()
```
```js
const undo = () =>(const json? = history.pop()? engine = Engine.fromJSON(json):void 0)
```
Workaround: put t…
-
### Discussed in https://github.com/scala/scala3/discussions/18115
Originally posted by **utenma** July 2, 2023
Java 21 added a very basic [pattern matching for Java records](https://openjdk.…
-
# Pattern Matching
## Introduction
This issue proposes the addition of pattern matching to the ghūl programming language. Pattern matching provides a concise and safe way to work with tagged uni…