[chuck-users] "Or"

Robert Poor rdpoor at gmail.com
Fri Sep 3 13:11:19 EDT 2010


How about
   likely(n)
... where 0 <= n <= 1.0, which will return true with a probability of  
n.  Even better, just make n an optional arg to maybe().

Sent from my iPhone

On Sep 3, 2010, at 9:29 AM, Kassen <signal.automatique at gmail.com> wrote:

>
>
> 2010/9/3 Rebecca Fiebrink <fiebrink at princeton.edu>
> OR, because it's chuck and therefore more fun than your average  
> language:
>
>
> Ok, that's it.
>
> Let's have "probably" and "perhaps" at 75% and 25% as well. Everyone  
> loves "maybe" so much, we might as well have more of it.
>
> Does English have single words describing indeterminate times and/or  
> durations that aren't already reserved or would be confusing? We  
> talk about "in a bit" or "in a while" but those sound like they  
> would be cause for confusion. "soon" might be a good one?
>
> Kas.
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20100903/c014850a/attachment.htm>


More information about the chuck-users mailing list