Re: Discuss changing the behaviour of append()

new topic     » goto parent     » topic index » view thread      » older message » newer message
SDPringle said...

I believe among new users or infrequent users, if a user passes an atom as a first argument to append, it is probably because they are accidentally reversing the order of the parameters and not because they want to treat atoms as length-one sequences that contain that atom.

Sometimes, one just has to learn the API. For example, ...

   -- Ensure that the output has a new-line added. 
   puts(NEWLINE, STDOUT) 

Oops! Parameters are the wrong way around.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu