Re:Elixir at Ramp
by bostonvaulter2 on Friday November 24, 2023 @05:00PM
(#38408850)
Since Elixir 1.6 it is possible to create custom guards with `defguard`: https://hexdocs.pm/elixir/Kernel.html#defguard/1
[ Parent
| on HN ]
It's true that you can create custom guards, but they are still very limited, and they can only be made of a small list of allowed expressions [0].
[0]: https://hexdocs.pm/elixir/1.6.6/guards.html#list-of-allowed-...