Hacker News
- Point-free style pattern matching in TypeScript https://github.com/Snowflyt/megamatch 0 comments
- Compiling Pattern Matching https://compiler.club/compiling-pattern-matching/ 17 comments
- Pattern-matching dependent types in Coq http://matthew.brecknell.net/post/pattern-matching-dependent-types-in-coq/ 6 comments coq
- A Simple Proof From the Pattern-Matching Card Game "Set" Stuns Mathematicians http://www.wired.com/2016/06/simple-proof-card-game-set-stuns-mathematicians/ 8 comments math
- Massive new surveillance program will store data on innocent U.S. citizens for up to five years, using “predictive pattern-matching,” to analyze for suspicious behavior; will also share info with foreign gov'ts. It represents a “sea change in the way that the gov't interacts with the general public” http://www.slate.com/blogs/future_tense/2012/12/13/national_counterterrorism_center_s_massive_new_surveillance_program_uncovered.html 5 comments politics
- [PDF] GADTs meet their match: Pattern-matching warnings that account for GADTs, guards, and laziness. http://research.microsoft.com/en-us/um/people/simonpj/papers/pattern-matching/gadtpm.pdf 16 comments haskell
- “Useless Ruby sugar”: Pattern matching (Pt. 3/3) https://zverok.space/blog/2023-11-03-syntax-sugar2-pattern-matching-fin.html 2 comments ruby
- JEP proposed to target JDK 18: 420: Pattern Matching for switch (Second Preview) https://mail.openjdk.java.net/pipermail/jdk-dev/2021-November/006252.html 10 comments java
- JEP draft: Pattern Matching for switch (Second Preview) https://openjdk.java.net/jeps/8273326 30 comments java
- Checkerboard Programming - match checkerboard patterns by writing code https://www.checkerboardprogramming.com/ 5 comments programming
- Structural pattern matching in Python 3.10 https://benhoyt.com/writings/python-pattern-matching/ 8 comments python
- An Introduction to Pattern Matching in Ruby https://blog.appsignal.com/2021/07/28/introduction-to-pattern-matching-in-ruby.html 9 comments ruby
- Structural Pattern Matching In Python https://buddy.works/tutorials/structural-pattern-matching-in-python 3 comments python
- Port pattern matching library wildmatch to golang https://www.reddit.com/r/golang/comments/m6giy8/port_pattern_matching_library_wildmatch_to_golang/ 5 comments golang
- Can matched patterns be grouped? https://www.reddit.com/r/haskell/comments/lx99vs/can_matched_patterns_be_grouped/ 6 comments haskell
- Don Syme on why C#'s new pattern matching is a bad design https://github.com/fsharp/fslang-suggestions/issues/968#issuecomment-764636595 24 comments fsharp
- Pattern matching - details I initially missed, with Haskell and Rust examples https://www.fpcomplete.com/blog/pattern-matching/ 7 comments haskell
- Pattern Matching no longer experimental! https://www.reddit.com/r/ruby/comments/jmjy5v/pattern_matching_no_longer_experimental/ 10 comments ruby
- Issues with pattern matching on JSON / array of hashes https://www.reddit.com/r/ruby/comments/ix7a1h/issues_with_pattern_matching_on_json_array_of/ 3 comments ruby
- Rust for JavaScript Developers - Pattern Matching and Enums http://www.sheshbabu.com/posts/rust-for-javascript-developers-pattern-matching-and-enums/ 10 comments javascript
- Ansible: Finding matching pattern shows error in regex expression https://regex101.com/ 4 comments ansible
- Java: Pattern Matching for instanceof (with examples) https://programming.guide/java/pattern-matching-for-instanceof.html 7 comments java
- Ruby 2.7 — Pattern Matching — First Impressions https://medium.com/@baweaver/ruby-2-7-pattern-matching-first-impressions-cdb93c6246e6 29 comments ruby
- Pattern matching just landed in Ruby's master https://bugs.ruby-lang.org/issues/14912 9 comments ruby
- For those looking to try out a functional language (e.g. Elixir) I've written a guide about the basics of recursion and pattern matching from a ruby perspective. Let us know what you think! http://www.weeklycommit.com/elixir-for-rubyists-pattern-matching-and-recursion/ 7 comments ruby
- What is the benefits of using pattern matching instead for loops? https://www.reddit.com/r/javascript/comments/50og0q/what_is_the_benefits_of_using_pattern_matching/ 8 comments javascript
- How to Use Elixir Pattern Matched Functions Arguments https://medium.com/rebirth-delivery/how-to-use-elixir-pattern-matched-functions-arguments-a793733acc6d#.fgngp7hpb 2 comments elixir
- Pattern matching in Elixir http://novarac.com/elixir-madness/ 13 comments programming
- A little introduction to Pattern Matching in Elixir. https://medium.com/@luizvarela1/pattern-matching-in-elixir-6aa47399c721#.adhc24yao 4 comments elixir
- Pattern matching library with focus on type safety. Feedback, please? https://www.npmjs.com/package/typematch 3 comments typescript
- A question on pattern matching https://doc.rust-lang.org/nightly/std/option/enum.Option.html#method.iter_mut 16 comments rust
- Haskell for all: total-1.0.0: Exhaustive pattern matching using traversals, prisms, and lenses http://www.haskellforall.com/2015/01/total-100-exhaustive-pattern-matching.html 10 comments haskell
- [Please explain] Singleton pattern matching and exhaustiveness checker? https://gist.github.com/dima-starosud/afd0970c83cf2e0058b8 7 comments haskell
- λ Lessons: Pattern matching, first-class functions, and abstracting over recursion in Haskell https://stevekrouse.github.io/hs.js/ 3 comments haskell
- Introduction to Haskell, Lecture 4 is Live (Pattern matching and Guards) http://shuklan.com/haskell/lec04.html 7 comments haskell
- Scala pattern matching: for loop on steroids. http://www.artima.com/weblogs/viewpost.jsp?thread=281160 16 comments programming
- Pattern Matching with Ruby http://etorreborre.blogspot.com/2007/04/pattern-matching-with-ruby.html 2 comments programming
- 2.7's pattern matching official docs (recently merged) https://docs.ruby-lang.org/en/master/syntax/pattern_matching_rdoc.html 30 comments ruby
- Scientists link excess nitrogen degrading Hawaiian coral to a wastewater treatment plant that injects treated sewage water into the ground. Researchers tracked the changing isotopic ratios of nitrogen in the coral and matched the patterns to changes in the wastewater facility's operations schedule. https://news.ucsc.edu/2019/04/coral-nitrogen.html 182 comments science
- OMeta: an Object-Oriented Language for Pattern Matching [pdf] http://www.cs.ucla.edu/~awarth/papers/dls07.pdf 3 comments programming