Martin Baker wrote:
>
> On 18/09/16 18:41, Waldek Hebisch wrote:
> >
> > I got caught by Spad weirdness. In Spad
> >
> >"string"::OutputForm
> >
> > is the same as
> >
> >"string"@OutputForm
> >
> > which gives the same result as
> >
> >message("string")
> >
> > that is without
On 18/09/16 18:41, Waldek Hebisch wrote:
Martin Baker wrote:
Thanks for applying previous patch.
When you did this you made some changes and one of these changes
introduced a bug, so here is a fix for this bug:
I got caught by Spad weirdness. In Spad
"string"::OutputForm
is the same
Martin Baker wrote:
>
> Thanks for applying previous patch.
>
> When you did this you made some changes and one of these changes
> introduced a bug, so here is a fix for this bug:
I got caught by Spad weirdness. In Spad
"string"::OutputForm
is the same as
"string"@OutputForm
which
On 17/09/16 06:00, oldk1331 wrote:
I want to have
print "a string"
insead of
print("a string"::OutputForm)
when I am debugging.
I tried to add a "print : String -> Void", but not successful.
What's the right way to do it?
I also asked about something like this in thread here:
Martin Baker wrote:
>
> On 15/09/16 19:49, Waldek Hebisch wrote:
> > Martin Baker wrote:
> >>
> >> Minor code changes to computation.spad
> >> 1) Change sayMsg to print.
> >> 2) Improve OutputForm, don't use string.
> >> 3) implement CoercibleTo(OutputForm).
> >
> > I see that you have a lot of
On 15/09/16 19:49, Waldek Hebisch wrote:
Martin Baker wrote:
Minor code changes to computation.spad
1) Change sayMsg to print.
2) Improve OutputForm, don't use string.
3) implement CoercibleTo(OutputForm).
I see that you have a lot of code like:
str::Symbol::OutputForm
If you want to
Martin Baker wrote:
>
> Minor code changes to computation.spad
> 1) Change sayMsg to print.
> 2) Improve OutputForm, don't use string.
> 3) implement CoercibleTo(OutputForm).
I see that you have a lot of code like:
str::Symbol::OutputForm
If you want to print string without quotes use
Minor code changes to computation.spad
1) Change sayMsg to print.
2) Improve OutputForm, don't use string.
3) implement CoercibleTo(OutputForm).
new file is here:
https://github.com/martinbaker/multivector/blob/master/computation.spad
patch is here: