Re: [fricas-devel] Hot to implement a binary operation "->"?

2019-08-28 Thread Waldek Hebisch
> > would like to have a binary operation -> (or something similar, e.g. =>, > ==>, -->". How to handle this properly with all these special meanings? ==> is used for macros, no chance for other uses. Also '=>' is too special. '->' is an operation, but it produces types. Overloading type

Re: [fricas-devel] Hot to implement a binary operation "->"?

2019-08-26 Thread oldk1331
On 8/21/19 2:01 PM, Prof. Dr. Johannes Grabmeier privat wrote: > would like to have a binary operation -> (or something similar, e.g. =>, > ==>, -->". How to handle this properly with all these special meanings? I think "=>" "==>" "->" is built-in grammar, so you can't use them. As for "-->" you

[fricas-devel] Hot to implement a binary operation "->"?

2019-08-21 Thread Prof. Dr. Johannes Grabmeier privat
would like to have a binary operation -> (or something similar, e.g. =>, ==>, -->". How to handle this properly with all these special meanings? The code LatticeAlgebra: Category == Join(HeytingAlgebra, Monoid, CommutativeStar) with   --operations     "->":   (%, %) -> %   add     ((x: