|Subject:||'mod' and 'div' need brackets ro read as atoms|
|Date:||Thu, 04 Aug 2011 17:50:02 +0100|
|User-agent:||Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:126.96.36.199) Gecko/20110617 Thunderbird/3.1.11|
| ?- P = div.uncaught exception: error(syntax_error('user_input:1 (char:5) current or previous operator needs brackets'),read_term/3)
This is a problem because I cannot read terms written by pre-1.4 versions of GNU prolog (or other prologs) including these atoms. Also there does not seem to be any reason for it -- other 2-ary arithmetic operators like atan2 can be read directly so why not these?
|[Prev in Thread]||Current Thread||[Next in Thread]|