Hi! I’ve created a small application to help learners experiment with pattern matching, https://www.patternr.dev/. It currently supports (a subset of) Elixir and Haskell syntax. I’m happy to hearn any suggestions you may have
PS: It’s my first app built with LiveView, and the experience has been great!
This looks like a really neat project! I think it would be really helpful to have a couple links that will prefix an example pattern so users can easily see working examples of supported patterns.
Also it would be good if more complex patterns were accepted:
And a minor improvement would be to change “Incorrect Pattern” to “Invalid Pattern”. Incorrect doesn’t really match because you don’t know the users intention.
it is kind of confusing that when the header is purple, it is not Elixir, but Haskell. I guess the both use the same color, but that reddish color for Elixir is disguising
Interesting, I’ve always seen orange as the “Elixir color”, maybe because of the several books which use that color. In any case, I’m changing it now to the same background used in Elixir Forums, which is a nice purple