Re: Potluck dish - Simple functional reactive programming

2014-03-20 Thread Thompson, David
On Thu, Mar 20, 2014 at 11:46 AM, Panicz Maciej Godek wrote: > Hi, > it's been over a month, and I finally had an opportunity to take a > closer look at your signal library (and also the video demonstration > available at your blog). I have to say that I'm truly impressed with > the code and grate

Re: Potluck dish - Simple functional reactive programming

2014-03-20 Thread Panicz Maciej Godek
Hi, it's been over a month, and I finally had an opportunity to take a closer look at your signal library (and also the video demonstration available at your blog). I have to say that I'm truly impressed with the code and grateful for it, and I find it very inspiring. However, if it comes to the n

Re: Potluck dish - Simple functional reactive programming

2014-02-17 Thread David Thompson
David Thompson writes: > Lately I've been playing around with functional reactive programming > (FRP) applied to video games. This style of programming allows for a > declarative, functional way of describing time-varying values. Contrast > this method of programming with more traditional hooks

Re: Potluck dish - Simple functional reactive programming

2014-02-16 Thread Ludovic Courtès
David Thompson skribis: > This code isn't terrible, but wouldn't it be nice to declare that > 'gc-label' will always contain a string with the number of GC runs in > it instead? Enter FRP: > > (define gc-label-position (vector2 0 40)) > (define gc-counter (make-root-signal 0)) > (define gc-label

Potluck dish - Simple functional reactive programming

2014-02-16 Thread David Thompson
Hello Guilers, I didn't have time to put together a proper potluck dish, but I wanted to find something to share anyway. Lately I've been playing around with functional reactive programming (FRP) applied to video games. This style of programming allows for a declarative, functional way of descri