Skip to content

0.5.0

Choose a tag to compare

@dannote dannote released this 20 Apr 13:27
· 25 commits to master since this release

Added

  • Ellipsis (...) — matches zero or more nodes in function args, lists, and block bodies
    • IO.inspect(...) — any arity
    • foo(first, ..., last) — capture surrounding args
    • def run(_) do ... end — any function body
    • [head, ...] — list with 1+ elements
  • ~p sigil — compile-time pattern parsing via import ExAST.Sigil
    ~p"IO.inspect(...)"