[REBOL] Re: 'join automatic type conversion
From: alberto:origen:mx at: 8-Dec-2005 10:39
ah, now is obvious "why?" :)
>> source join
join: func [
"Concatenates values."
value "Base value"
rest "Value or block of values"
][
value: either series? value [copy value] [form value]
repend value rest
]
--
alberto
On Thu, 08 Dec 2005 10:21:23 -0600, Alberto <alberto-origen.com.mx> wrote:
> Hi all,
>
> Someone can explain me why 'join returns a string! when both args
> are word! ?
>
> eg
>
>>> join 'a 'b
> == "ab"
>
> would not be useful if that instruction returned a 'word?
>
> so, I would not need type
>
>>> to-word join 'a 'b
> == ab
>
> Cheers
>
> --
> alberto
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/