News for hackers. Stuff that matters.
Re:Some Functional Programmers Are Arrogant by sshine on Wednesday July 08, 2015 @01:00PM (#9853007)
You want the state of an electric circuit modelled using linear type systems.

This sort of does away with problems of mutability, since you can change things, but only exactly once (which is what you intend for e.g. current).

Re:Some Functional Programmers Are Arrogant by tsmarsh on Wednesday July 08, 2015 @01:23PM (#9853201)
I was clutching at straws, I'm an functional programmer myself and I vaguely remembered something in SICP that used objects to solve circuit problems. I'm sure objects good for something... right?