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 }``
|
||
|---|---|---|
| .. | ||
| algebra | ||
| builtin | ||
| error | ||
| intersection | ||
| maybe | ||
| mixin | ||
| parser | ||
| predicate | ||
| singleton | ||
| tuple | ||
| union | ||
| authors.txt | ||
| classes-docs.factor | ||
| classes-tests.factor | ||
| classes.factor | ||
| summary.txt | ||
| tags.txt | ||