Singpolyma

Why use newtype?

Posted on

Won't a data with a single, strict field behave the same?

in reply to

Why use newtype?

Posted 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 to

What has Rust borrowed?

Posted 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 to

Where is Control.Monad.IO.Class moving?

Posted on

So much stuff getting added to base.

in reply to

Official photographer photos from my wedding up at http://wedding.singpolyma.net/photos/

Posted on

Official photographer photos from my wedding up at http://wedding.singpolyma.net/photos/