I write
afterFName := rest lexs
empty? afterFName => (msg(); error "no result domain specified.")
triple := parseDomains afterName
(`afterName' set erroneousely instead of `afterFName'),
and the FriCAS-1.1.6 compiler reports
------------------------------------
...
****** level 16 ******
$x:= afterName
$m:= (List (String))
$f:=
((((#:G951 #) (|afterFName| #) (|fName| #) (#:G950 #) ...)
((|parseDomains| #) (|copy| #) (|setelt| #) (|remLexs| #) ...)))
>> Apparent user error:
NoValueMode
is an unknown mode
------------------------------------
~ 3/4 of error reports (of a whide variety of situations) end with
"NoValueMode is an unknown mode".
GHC Haskell in the above situation reports something like
"afterName : unknown value" -- easy to understand.
1. "NoValueMode" is some enigmatic notion.
2. In this particular example, it is easy to discover `afterName',
but in other cases it is not easy to discover who is responsible.
Usually, I try setting
error "debug"
)if false
in various places, and compile, and thus approach to the responsible
line in the program.
Regards,
------
Sergei
[email protected]
--
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.