core.match is a high-performance pattern-matching library for Clojure and ClojureScript. It provides an optimized macro-based DSL for structurally matching data—such as sequences, maps, regexes—offering a clearer alternative to nested conditionals or destructuring. A symbol pattern can represent one of three behaviours. Match the value of an existing local binding. Create a "named" wildcard pattern that creates a binding of the given name to the right of the pattern row.

Features

  • match macro for structural pattern matching akin to ML/Haskell-style matching
  • Supports Clojure and ClojureScript seamlessly
  • Handles complex patterns: sequences, maps, predicates, regex-based patterns
  • Efficient under-the-hood algorithm for quick pattern dispatch
  • Avoids brittle conditionals by making patterns explicit and expressive
  • Compatibility with advanced usage contexts and custom pattern types

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Eclipse Public License

Follow core.match

core.match Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of core.match!

Additional Project Details

Registered

2025-08-20