News for hackers. Stuff that matters.
Re:Are Monads a Waste of Time? by steveklabnik on Tuesday February 20, 2018 @09:20AM (#16420438)
unsafe is not viral; if it was, everything would be unsafe. An unsafe block is the boundary where you tell the compiler "I've got this bit", and so it trusts you and considers it safe.
Re:Are Monads a Waste of Time? by whateveracct on Tuesday February 20, 2018 @08:56PM (#16426196)
Funnily enough, “unsafe” in Haskell (e.g. unsafePerformIO) is the same way. Not viral so as to say “trust me.”