On 13/08/15 22:55, Aidan Gauland wrote: > Are there any non-graphical FrTime demos? I'm trying to figure out how > to define your own behaviors, and just going by the manual > <http://docs.racket-lang.org/frtime/>, it seems rather imperative in > nature, which is not what I understood it to be from reading the > whitepaper. > <https://cs.brown.edu/people/sk/Publications/Papers/Published/ck-frtime/paper.pdf> > [snip]
Something seemed to click in my head last night after my original post, and it occurred to me to try this (in DrRacket). Welcome to DrRacket, version 6.2 [3m]. Language: FrTime; memory limit: 128 MB. > (define rx (event-receiver)) > (define foo (+ 3 (hold rx))) > foo <undefined> > (send-event rx 5) ;; The <undefined> magically changes to 8. > So I think I've got it now. I suspect I'll have to pick Greg Cooper's brain about FrTime's innards and undocumented public procedures, once I've been using it (the documented part of it, anyway) for a while. --Aidan -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

