core.match

cata matching

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Dan Friedman's pattern matcher has a nice feature called cata-matching - allowing recursive matching from the match itself. Useful when writing compilers.

Activity

Hide
David Nolen added a comment -

Similar to function application except that if a function call throws a no match exception, catch and backtrack.

Show
David Nolen added a comment - Similar to function application except that if a function call throws a no match exception, catch and backtrack.
Hide
David Nolen added a comment -

Going to de-prioritize for now as matching on function applications delivers a lot of power as is.

Show
David Nolen added a comment - Going to de-prioritize for now as matching on function applications delivers a lot of power as is.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: