Bugreport - (sect) passed list with NIL as element

2022-03-29 Thread Morris

Hi Alex,

I might have encountered a bug related to (sect) and it's handling of 
NIL as element of the first passed list:


: (sect (list NIL) NIL)
-> (NIL) # expected ()

It is not dependent on the second argument being the empty list:

: (sect (list 1 2 NIL 4) (list 2 3 4))
-> (2 NIL 4) # expected (2 4)

A possibly related bug can be found with (diff):

: (diff (list 1 2 NIL 4) NIL)
-> (1 2 4) # expected (1 2 NIL 4)
: (diff (list 1 2 NIL 4) (list 2 3 4))
-> (1) # expected (1 NIL)

I encountered this behavior on version 20.7.4 and am unsure if it 
already was fixed in a newer release.


Thanks,
Morris


Unsubscribe

2019-11-25 Thread Morris Feist



Subscribe

2019-11-25 Thread morris

Hello morris  :-)
You are now subscribed




--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Subscribe

2019-05-24 Thread Morris Feist