Expat - composable, reusable pattern matching

Just updated the README to avoid possible confusion and added a note on how expat patterns could be used to construct data if you provide all bindings, I mean you’ve always had, but with expat you abstract the actual form and give it a name, like this example

defpat ok {:ok, value}

ok(22) # => {:ok, 22}
1 Like