I have a problem with 'outputList'. It works fine in the interpreter:

(1) -> outputList(["abc",1])
   abc1

Type: Void

but in the compiler I get:

   >> Apparent user error:
   Cannot coerce abc
      of mode abc
to mode (Union (: boundTerm (Record (: varBound (NonNegativeInteger)))) (: freeTerm UT) (: compoundTerm (Record (: c1 $) (: c2 $))) (: lambdaTerm (Record (: c3 $) (: nm UT))))


So I changed:
outputList(["abc",1])
to:
outputList(["abc",1])$OutputPackage
and then I got:

   >> Apparent user error:
   Cannot coerce abc
      of mode abc
      to mode (Any)

Do you know why it does not work in the compiler?

Martin

--
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 fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
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