>> (498) -> foo("a", "b")
>>
>>    (498)  "a==>b"
>>
>> (499) -> ("a" -> "b")$Foo
>>    Internal Error
>>    The function -> with signature hashcode is missing from domain Foo
> 
> '->' is used in several places internaly.  I would not expect it
> to work as normal operator.

Strange, but it seems at least to work in a SPAD program (maybe just by
accident). See implementation of foo and it's call above. I just cannot
call that -> from the interpreter.  So this looks more like a limitation
of the interpreter.

OK, not really something that I insist on to work, but I just thought
that makinge it work would be as easy as with /\ and \/.

Anyway, eventually, -> should work as an ordinary operator, i.e. allow
overloading. It shouldn't necessarily always mean "Mapping".

Ralf

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to