DEV Community

Yufan Lou
Yufan Lou

Posted on

3 1

Look for Nuke Launchers in Haskell

Haskell programmers like to tell people that in other languages if you use some library and that library launches a nuclear missile, you wouldn't know.

Turns out you wouldn't know necessarily in Haskell either. If you use any significant framework, there is a good chance you use its provided monad stack, which if contains IO, can launch a nuclear missile.

To this end, IO in Haskell is like unsafe in Rust. It significantly reduces audit surface, but you still need to be vigilant to audit it. Perhaps not surprisingly, the way Rust markets its safe subset is similar to how Haskell markets its pure subset.

Stay vigilant.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay