Re: [Pharo-users] Reactive Programming - anything like that in our realm?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-users] Reactive Programming - anything like that in our realm?

Guillermo Polito
Well, a couple months ago I read this paper:


I got inspired and Hacked up a morph that draws when you click on it, using the following code:

Reactor loop: [ :reactor | | path |
path := PathShape vertices: { (reactor next: RMouseDown) position}.
self draw: path.
reactor loopUntil: RMouseUp with: [ | move |
move := reactor next: RMouseMove.
path addVertex: move position.
self draw: path.
].
self finishDrawing.
] on: self announcer.


p := RReactivePolygon new.
w := p openInWindow.
w extent: 400@400.

Of course it was just a dirty start, but if it is of use to anybody, here is the code:

MCSmalltalkhubRepository
owner: 'Guille'
project: 'playground'
user: ''
password: ''


On Sun, Nov 2, 2014 at 12:42 AM, Skip Lentz <[hidden email]> wrote:
That sounds like a cool idea.

I found this through a quick Google: http://ss3.gemstone.com/ss/FRP.html, but not much else..

Doesn't seem to be in development anymore either.

Skip


From: [hidden email]
Date: Sun, 2 Nov 2014 00:22:24 +0100
To: [hidden email]; [hidden email]
Subject: [Pharo-users] Reactive Programming - anything like that in our realm?



It looks like that this is where the new apps are going.

Do we have anything on that Rx front?

Phil


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside