[Sc-devel] language crash
Julian Rohrhuber
rohrhuber at uni-hamburg.de
Tue Jun 5 14:48:19 PDT 2007
>Hey Ryan,
>
>thanx for this... I actually don't know if we want this... it's a
>potential pitfall... perhaps we should check if all params of "or"
>and "and" are Bool?
yes, I tend to think the primitive should return an error if the
argument has the wrong type - boolean logic knows only true and false.
>2c
>Till
>
>
>On 04.06.2007, at 23:51, Ryan Brown wrote:
>
>>true.or("hello")
>>// => true
>>
>>true.and("hello")
>>// => hello
>
>_______________________________________________
>Sc-devel mailing list
>Sc-devel at create.ucsb.edu
>http://www.create.ucsb.edu/mailman/listinfo/sc-devel
--
.
More information about the Sc-devel
mailing list