Add "alt" combinator with memoisation