Can you clarify what do you mean?
Do expect the concept of "monad" to help explaining Raku grammars?
- Similarly, EBNF can be applied to Raku grammars.
- Hence, the representation of Raku grammars into FP monad is doable, at least for certain large enough set of Raku grammars.
- See the package "FunctionalParsers".