Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Agreed this would be a nice addition.

https://docs.rs/bitmatch/latest/bitmatch/ works nicely but only for a single integer.

https://internals.rust-lang.org/t/pre-rfc-binary-patterns/89... didn't get much discussion but seems the closest to Erlang.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: