The "for var in list" allows list to be an arbitrary
expression, and assigns var to the part(var,i)'s when list
is non-atomic, e.g.
for i in a+b+c do print(i)
=> a b c
for i in a/b do print(i)
=> a b (note that this is the nformat'ed version)
But it thinks the bfloat case is nonatomic:
for i in 1.0b0 do print(i)
=> 36028797018963968 1
Fix is easy: in Mdoin (mlisp.lisp), replace atom by $atom
(SETQ SET (IF (ATOM (SETQ SET (FORMAT1...
(SETQ SET (IF ($ATOM (SETQ SET (FORMAT1...
Log in to post a comment.