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

  • Buttons@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 months ago

    What if I specify the wrong type? let retrieved = storage.get::<SomeOtherType>();?

    Is it a runtime error or a compile time error?