News for hackers. Stuff that matters.
Re:Ask HN: What has Haskell ever done for us? by AnimalMuppet on Thursday December 27, 2018 @12:26PM (#18770906)
If I understood what you said correctly, you could have FP that allowed (controlled) mutation of the existing variable rather than allocating a new one. I suppose that could be done. But it seems to me that many people regard immutability as an essential part of FP, because without immutability, composability is no longer guaranteed. So to get what you'd like FP to be, you may have to step outside the existing FP community.
Re:Ask HN: What has Haskell ever done for us? by Nokinside on Friday December 28, 2018 @04:37PM (#18779648)
The essential part of what makes FP FP is referential transparency not immutability. Having referential transparency with mutation is what the uniqueness typing provides.