Menu

#299 Need experimental call-patterns in E-on-Java

feature_request
open
5
2006-07-23
2006-07-23
Anonymous
No

Discussion

  • Mark Samuel Miller

    • assigned_to: nobody --> caplet
     
  • Mark Samuel Miller

    Logged In: YES
    user_id=54168

    This is partially implemented in E-on-Java, once enable by
    pragma.enable("call-pattern").
    The caveat is, in order to avoid refactoring e.y (the BNF of
    the E grammar), you currently
    must precede the call pattern with the keyword "in". Kevin's
    example:

    ? def in a.b(c) := d
    # expansion: def via (__makeVerbFacet.curryCall(a,
    "match__b_1")) [c] := d

    Note that I also changed the verb mangling to use "_" rather
    than "/".

     

Log in to post a comment.

MongoDB Logo MongoDB