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
Categories
LibrariesLicense
Eclipse Public LicenseFollow core.match
Other Useful Business Software
AI-generated apps that pass security review
Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of core.match!