-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
livescript populate global namespace with it's functions,
for example, if we use this construct:
x in y
then, function in$(x, xs) is created. the name collision is avoided with $ character.
it could be also a single global object, for example L$ with the function L$.in(x, xs)
first,
it would avoid collisions better (less names).
second,
it would allow to merge anything within this object without requirement to include that functionality by hand (require for backend and script includes for frontend). code could be added dynamically on usage when specific condition met.. or it could be added with 'use strict, prelude-ls'. not sure about it, may workout this later..
Metadata
Metadata
Assignees
Labels
No labels