[rust-dev] Request for feedback

Steve Jenson stevej at fruitless.org
Fri Dec 7 11:58:53 PST 2012

Hi rust gurus,

Today I ported the purely functional Pairing Heap found in Okasaki's Purely
Functional Data Structures to Rust. I was hoping that some of you might
take a look at it and give me feedback on where I could be using Rust's
idioms better.


The code I wrote is a little longer than Okasaki's example, mostly due to
Standard ML's more concise pattern matching. (see page 54 for comparison)
Is there a way to do pattern matching in argument lists as in Haskell or

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20121207/3009ac19/attachment.html>

More information about the Rust-dev mailing list