Email or username:

Password:

Forgot your password?
Devil Lu Linvega

In Modal, numbers are done through I/O because numbers are impure.

8 comments
TobTobXX

@neauoire Makes sense. On one machine you get 0.9999... when you get 1.0 on another.

Capital

@neauoire
It feels like a wonderful logical extreme to pure functional programming. Any interaction that can't be handled by matching, copying, and moving data is impure.

Your addition operation is now

(+) : Int -> Int -> IO Int
Devil Lu Linvega

@d6 you've proven that they can be pure, I'll give you that! 🤚

⛧ esoterik ⛧

@neauoire "now that you've shown you know how to cook you've earned the privilege of going out to the restaurant"

Devil Lu Linvega

@d6 I like that analogy haha, it's perfect. You understand numbers now ⭐ be careful

Timo the timo

@neauoire in bed, late at night, thinking impure thoughts (counting sheep)

Go Up