Can anyone tell me how to fix the following error generated by the code
at the end of this message?
>> Apparent user error:
Cannot coerce a
of mode (CoercibleTo (OutputForm))
to mode (OutputForm)
I assume this is something to do with compile-time rather than run-time
resolution of functions? This sort of thing always catches me out, I
don't program in SPAD often enough for this to become intuitive.
Martin
---------------------------------------------------------
)abbrev package PRUTIL printUtil
++ Author: Martin Baker
++ Date Created: Nov 2015
++ Date Last Updated: Nov 2015
++ References:
++ http: //www.euclideanspace.com/prog/scratchpad/mycode/computation/
++ Description:
++ The printUtil package provides wrappers for the print function
++ I plan to add 3,4,5,6,7 and 8 argument functions.
printUtil() : Exports == Implementation where
Exports ==> with
print : (a:CoercibleTo(OutputForm),b:CoercibleTo(OutputForm)) -> Void
++ print 2 arguments
Implementation ==> add
-- print 2 arguments
print(a:CoercibleTo(OutputForm),b:CoercibleTo(OutputForm)):Void ==
print hconcat([a::OutputForm,b::OutputForm])$OutputForm
--
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.