Re: Discuss changing the behaviour of append()

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

You can have append do what you want by calling append as:

     append(S[1..1], 2) -- coercing S[1] to a sequence 

While more 'elegant', it does have a performance aspect that I was also hoping to avoid.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu