Error formatting macro: pagetree: java.lang.NullPointerException
Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History

Rationale

Given that Clojure constrains import, it could infer/guess more about untyped method calls.

Plan

  • Given (.foo untyped-x ...)
    • See which imported classes have a foo method of matching arity
    • Compile one or more speculative typed calls
      • if type guard fails, default to reflection
  • Auto-method wrapper generation based on above
    • (map .foo ...)
    • caching?

Issues

  • Wait for new compiler
Labels: