Hello,
During the development of the MPL project, I've run the the tests in a
few implementations including Mosh. Recently I added a test which
passes in Ypsilon, Ikarus, and Chez, but seems to give Mosh trouble.
The test suite is at:
http://github.com/dharmatech/mpl/blob/master/test.sls
The particular test that gives Mosh trouble is:
(test-equal "MM: page 117"
(polynomial-division (alge " (2+4i)*x^2 + (-1-8i)*x + (-3+3i) ")
(alge " (1+2i)*x + (1-1i) ")
x)
(list (alge " 2*x-3 ")
0))
An R6RS program which also demonstrates the problem using the code
from the test is:
(import (mpl rnrs-sans)
(mpl polynomial-division))
(display
(polynomial-division '(+ -3+3i (* -1-8i x) (* 2+4i (^ x 2)))
'(+ 1-1i (* 1+2i x))
'x))
(newline)
Again, that program runs in the other implementations.
When I run this code with Mosh, it never returns; i.e. seems to be
caught in a loop.
I'll try to narrow it down further, but I wanted to mention it early.
The good news is that, if I comment out that one test from the test
suite, Mosh completes all the tests.
More information about MPL is at:
http://github.com/dharmatech/mpl/blob/master/mpl.org
Ed
--
You received this message because you are subscribed to the Google Groups "Mosh Developer Disscus" group.
To post to this group, send email to
mosh-develo...@googlegroups.com.
To unsubscribe from this group, send email to
mosh-developer-di...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/mosh-developer-discuss?hl=en.