And what's wrong with this one:

)abbrev package MYEXP MyExp

MyExp(F: Ring): with
    myexp: (F, PositiveInteger) -> F
 == add
    myexp(x, n) ==
        a : PositiveInteger -> F
        a i == x
        a n

All types are given explicitly, the resulted function should be
myexp(x, n) = x for all n

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en.

Reply via email to