Comments on: Lifting in Flapjax http://www.weaselhat.com/2007/08/11/lifting-in-flapjax/ Thu, 27 Jan 2022 18:16:06 +0000 hourly 1 https://wordpress.org/?v=6.3.2 By: Pan Xingzhi http://www.weaselhat.com/2007/08/11/lifting-in-flapjax/comment-page-1/#comment-457 Wed, 28 Oct 2009 17:06:19 +0000 http://www.weaselhat.com/2007/08/11/lifting-in-flapjax/#comment-457 Thanks for the wonderful post! Could you please comment on a dear reader’s lift_e at following URL? I didn’t look at Flapjax’s source code of course :-)

http://www.panxingzhi.net/in-respect-to-lifting-in-flapjax/

I do miss the compiler a little though.

]]>
By: Michael Greenberg http://www.weaselhat.com/2007/08/11/lifting-in-flapjax/comment-page-1/#comment-433 Thu, 11 Jun 2009 03:15:32 +0000 http://www.weaselhat.com/2007/08/11/lifting-in-flapjax/#comment-433 In reply to Julien Couvreur.

I’m glad you enjoyed the talk! The actual implementation of Flapjax is past my (facile) description, and it’s worth taking a look at — it’s moderately documented throughout. Some of the implementation checks the graph to prevent glitchy behaviors in cycles. There might be more examples of using “graph knowledge”, but I’m not quite sure what you mean.

The operation is called lifting because it promotes a function on “ordinary values” to a function on event streams — have a look at Haskell documentation on liftM.

As for the compiler and the language, I agree with you. The library is definitely the way to go.

]]>
By: Julien Couvreur http://www.weaselhat.com/2007/08/11/lifting-in-flapjax/comment-page-1/#comment-432 Thu, 11 Jun 2009 00:29:19 +0000 http://www.weaselhat.com/2007/08/11/lifting-in-flapjax/#comment-432 I watched a presentation on Flapjax and was intrigued. I was delighted to see this tutorial to get a view from under the hood. Thanks!

Why is it called “lifting”? lift_e takes an event stream, not an “ordinary value”, so it is not really “lifting”…

What does Flapjax do with the graph knowledge about events and behaviors?

As a side note, I think that the Flapjax compiler is a really nifty trick, but I would shy away from using it (it adds another layer). Flapjax – the library – is more appealing to me.

]]>
By: Lloyd Moore http://www.weaselhat.com/2007/08/11/lifting-in-flapjax/comment-page-1/#comment-322 Mon, 21 Jan 2008 16:52:32 +0000 http://www.weaselhat.com/2007/08/11/lifting-in-flapjax/#comment-322 Ok spoke too soon. I now see that newValue is called periodically which causes the firing on the functions enqueued – elegant!

]]>
By: Lloyd Moore http://www.weaselhat.com/2007/08/11/lifting-in-flapjax/comment-page-1/#comment-321 Mon, 21 Jan 2008 16:49:45 +0000 http://www.weaselhat.com/2007/08/11/lifting-in-flapjax/#comment-321 Could you explain the construction of showStream in the sense that timer_e() periodically adds an event to the stream and yet showStream is executed repeatedly although it is called only once.

]]>
By: Noel http://www.weaselhat.com/2007/08/11/lifting-in-flapjax/comment-page-1/#comment-229 Thu, 16 Aug 2007 15:58:50 +0000 http://www.weaselhat.com/2007/08/11/lifting-in-flapjax/#comment-229 This post rocks like an old pickup on a dirt road!

]]>