If we were to create a Rust version of this page for Haskell, what cool programming techniques would you add to it?

  • Infernaltoast@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    28 days ago

    You can manually implement PartialEq and Eq on an Enum that implements Hash to manually determine how the hashmap keys override/collide with one another.