The problem with M\ is that it has an arity of 1 where we need it to have arity 2. Also, for multimethods, the \ disables parsing of the array that follows, e.g. ``M\ { string string } multimethod-name`` parses as ``M\ {`` and leaves the rest unparsed. This is obviously wrong.
An alternative syntax that should be implement and looks ok is ``m{ array generic }``
|
||
|---|---|---|
| .. | ||
| cfg | ||
| codegen | ||
| constants | ||
| crossref | ||
| errors | ||
| prettyprint | ||
| test | ||
| tests | ||
| threads | ||
| tree | ||
| utilities | ||
| authors.txt | ||
| compiler-docs.factor | ||
| compiler.factor | ||
| summary.txt | ||
| tags.txt | ||