Hi Kashyap,

> I believe that the comma was not strictly necessary in this tweet
> https://twitter.com/PicoLispREPL/status/1542382434066788352  - the one
> before "Language". Is that correct?

No, in fact it is very important. Without it, nothing gets translated, and all
calls to 'f' always return the string "Language".

The comma is a read macro:

   https://software-lab.de/doc/ref.html#macro-io

It is normally used for collecting strings which are meant to be translated in
an application. Any call to (locale Ctry Lang) will then translate all strings.
In this twitter example only a single string "Language" was used though for
brevity.

☺/ A!ex


-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to