Hacker GitHub

← All repos

mpark/patterns

View on GitHub ↗ ★ 687 C++

This is an experimental library that has evolved to P2688

4 mentions on Hacker News by 4 people: 1 story, 3 comments · first 2017-06-08 · latest 2019-11-08

Mentions per year 4 mentions · busiest year 2019 (2)
20082026
  1. …Which isn't a true sum type because it doesn't nest properly. > Or you can use a library: https://github.com/mpark/patterns Interesting; proper pattern-matching is nice, but the lack of type safety is still a major issue.
    comment by lmm · 2019-11-08 · in Comparing Parallel Rust and C++
  2. …and std::visit. https://www.bfilipek.com/2018/09/visit-variants.html Or you can use a library: https://github.com/mpark/patterns
    comment by lenkite · 2019-11-08 · in Comparing Parallel Rust and C++
  3. …easily build lazy functional pipelines ( https://github.com/ericniebler/range-v3 ), pattern-match ( https://github.com/mpark/patterns ), and where generic programming is the dominant paradigm.
  4. ▲ 3
    Pattern matching in c++
    story by entelechy · 2017-06-08 · 1 comment