Re: Discuss changing the behaviour of append()
- Posted by euphoric (admin) Jun 18, 2014
- 3709 views
If we look at the term append(), there's no obviousness, innately or on the surface, about what it should accept as parameters. The only thing we can draw from it is that we will get a sequence of items, whereby the needle is added to the end of the haystack. This needle can be sequence or atom, and the haystack can be sequence or atom, so long as the result is a sequence.
If it matters, I'm not against modifying the behavior of append() to accept (object,object).