Haskell is a language which places a lot of value on the idea that functions should only be able to have effects on the things you pass into them.
Actually, no - functions in Haskell are not able to affect the things that you pass into them. They are only able to affect their own return value.
Whoops, yeah - only affected by the things you pass in, only has an effect on the return value. You're totally right, I'll update my comment.
Thank you both guys!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Actually, no - functions in Haskell are not able to affect the things that you pass into them. They are only able to affect their own return value.
Whoops, yeah - only affected by the things you pass in, only has an effect on the return value. You're totally right, I'll update my comment.
Thank you both guys!