Closed kitlangton closed 4 years ago
Just as we can add default implementations for actions, perhaps we could allow default implementations for captures:
@mod.capture(rule='{self.types}') def haskell_type(m): """Returns the given Haskell type""" return m.types[0]
fixed in next release
Just as we can add default implementations for actions, perhaps we could allow default implementations for captures: