gkz / LiveScript

LiveScript is a language which compiles to JavaScript. It has a straightforward mapping to JavaScript and allows you to write expressive code devoid of repetitive boilerplate. While LiveScript adds many features to assist in functional style programming, it also has many improvements for object oriented and imperative programming.
http://livescript.net
MIT License
2.32k stars 155 forks source link

This is awesome! #1045

Closed askucher closed 6 years ago

askucher commented 6 years ago

I wanted this but it already exists.

require! {
   \./test.ls : [head, ...tail]
   \./test2.ls : { prop: { nestedprop, nestedprop2 } }
}
rhendric commented 6 years ago

Glad it works for you! This does appear in the documentation.