On Wednesday, March 5, 2014 7:16:02 AM UTC+9, spamwax wrote: > > > Lua API's documentations <http://gittup.org/tup/lua_parser.html> is that += operator will concatenates its operands, which it does but it also converts the strings to 'tables' , is this intentional?
Sorry, you're right - it always returns a table (it seems to be intentional). I'll push a fix for the documentation. Just FYI, doing tostring on tables in Tup will automatically join the elements with spaces, and most (all?) of the tup API will perform tostring on passed arguments when necessary, so you should be able to treat the table as if it were a string for general use. -- -- tup-users mailing list email: [email protected] unsubscribe: [email protected] options: http://groups.google.com/group/tup-users?hl=en --- You received this message because you are subscribed to the Google Groups "tup-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
