What is Nostr?
Anupam 《ミ》λ≡ /
npub1adx…l9ty
2024-05-17 06:19:36

Anupam 《ミ》λ≡ on Nostr: A nice example of why having unrestricted side effects is bad - ...

A nice example of why having unrestricted side effects is bad - http://mlton.org/ValueRestriction.

This "value restriction" is an extra cognitive overhead on the programmer because not being able to distinguish between pure and impure values means that the compiler can't distinguish between safe and unsafe code and thus ends up banning both

#FunctionalProgramming
Author Public Key
npub1adxrwvqhgw5x2hwxcas8afkn4u6ynar6nlm6uygytzyyxaq2233q0pl9ty