Y
Hacker News
new
|
ask
|
show
|
jobs
by
exitb
2668 days ago
For reference, Rust version shows how much simpler that could be with pattern matching -
https://gist.github.com/km216/aad5c0fa11f32aa562af2370a32208...