[REBOL] Re: Finding all objects derived from a specific object.
From: volker::nitsch::gmail::com at: 29-Oct-2006 17:27
Am Montag, den 30.10.2006, 01:00 +1100 schrieb Anton Rolls:
> Not so, Volker.
> Exclude is one of those 'set' functions and it expects
> both its arguments to be the same type.
>
> >> list: make list! [a b c]
> == make list! [a b c]
> >> exclude list to-list 'c
> == make list! [a b]
>
Oh, right.
But still, to-list loads, turning the string in a word.
!>> to-list "a"
== make list! [a]
Better:
!>> to-list reduce["a"]
== make list! ["a"]
And lists move the position silently, better to use 'head everywhere.
> Regards,
>
> Anton.
>
snip
-Volker