We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code:
(capmacro Var (lambda (val) (return `((require "observ") ,val)))) (capmacro Arr (lambda () (var args (Array.prototype.slice.call arguments 0)) (return `((require "observ-array") (array ,@args))))) (capmacro Obj (lambda () (var args (Array.prototype.slice.call arguments 0)) (return `((require "observ-struct") (object ,@args))))) (Obj "results" (Arr (Var (Obj "foo" "bar"))))
compiles to:
require('observ-struct')({ 'results': require('observ-array')([require('observ')(Arr(Obj('foo', 'bar')))]) });
rather than:
require('observ-struct')({ 'results': require('observ-array')([require('observ')(require('observ-array')[(require('observ-struct')({ 'foo': 'bar'})]))]) });
What do I do?
The text was updated successfully, but these errors were encountered:
seems to be a duplicate of #27
Sorry, something went wrong.
Yep, as @vendethiel says, this is a different manifestation of the same undelying problem as #27.
I'm almost done with a big rework of the macro API, which will eliminate this problem, among others. Watch #27 for updates.
No branches or pull requests
This code:
compiles to:
rather than:
What do I do?
The text was updated successfully, but these errors were encountered: