Re: Discuss changing the behaviour of append()
- Posted by jimcbrown (admin) Jun 22, 2014
- 3329 views
DerekParnell said...
gimlet said...
My point is ... that the monoid makes it easy reasoning about functions.
In what ways do "the monoid makes it easy reasoning about functions"?
gimlet said...
Our append is strange this way. It has no identity.
Oh well ... c'est la vie.
Euphoria's append() works, its useful, and it's used. I've got no problem with the concept behind it. Should I have?
I think Shawn hit it on the nail when he said ( http://openeuphoria.org/forum/m/124652.wc ) that it wasn't about facts but feelings. Changing append to be monoid (whatever that would look like) is one of these (unlike the original topic, where the change is backed up by facts about performance optimization and code/algorithm simplication by removing edge cases).