Hacker Newsnew | comments | show | ask | jobs | submit login

Well, what I'd like to do is have e.g.

mymodule.coffee:

    x: 5
    y: (z) -> z * z
main.coffee:

    load("mymodule")
    puts mymodule.y(5)
I could set this up manually, of course, but if I wanted to do things manually I wouldn't be using CoffeeScript. :p



Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: