Re: Discuss changing the behaviour of append()
- Posted by jimcbrown (admin) Jun 16, 2014
- 3624 views
DerekParnell said...
Jim, just out of curiosity, did you consider this style of implementation? ...
if atom(val[a]) then val[target] = val[a] & {val[b]} else val[target] = append(val[a], val[b]) end if
I didn't. Should I change it to this? Is it better than append({val[a]}, val[b]) ?