Won't a data with a single, strict field behave the same?
in reply toWhy use newtype?
Posted on
Posted on
Won't a data with a single, strict field behave the same?
in reply toPosted on
A data with one constructor that takes on strict argument could be optimised in this wauy (I think). Otherwise the "optimisations" would add strictness where the programmer didn't expect it.
in reply toPosted on
Rust is not really a high-level language, though. I'm not sure a comparison would be fair. I love rust, for systems and other low-level stuff, but Haskell remains my go-to for quickly banging out apps
in reply toPosted on
So much stuff getting added to base.
in reply toPosted on
Official photographer photos from my wedding up at http://wedding.singpolyma.net/photos/