Skip to content

Commit 0581da5

Browse files
committed
add Unison and Wolfram langs as prior art
1 parent 486ac8a commit 0581da5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/3637-guard-patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ This can also be seen as a special case of the previous argument, as pattern mac
239239
# Prior art
240240
[prior-art]: #prior-art
241241

242-
This feature has been implemented in the [E programming language](https://en.wikipedia.org/wiki/E_(programming_language)) under the name ["such-that patterns"](http://erights.org/elang/grammar/patterns.html#suchThat).
242+
This feature has been implemented in the [Unison](https://www.unison-lang.org/docs/language-reference/guard-patterns/), [Wolfram](https://reference.wolfram.com/language/ref/Condition.html), and [E ](https://en.wikipedia.org/wiki/E_(programming_language)) languages.
243243

244244
Guard patterns are also very similar to Haskell's [view patterns](https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/view_patterns.html), which are more powerful and closer to a hypothetical "`if let` pattern" than a guard pattern as this RFC proposes it.
245245

0 commit comments

Comments
 (0)