Nick Alexander wrote:
>   * I want to be able to "pop out" or "anchor" an interact and have it  

http://www.sagenb.org/home/pub/585/

The code is all client-side, so popping a cell evaluates it.  It may be
best to delete all output before reloading.

Strangely, jQuery/UI duplicates the [shift-]click event handlers for a
popped cell's clickbar.  We get two new cells for the price of one.
This may be a quirk of the extended click plug-in.

Nevertheless, with the indicated tweak to cell_delete_callback(), I
believe both server and client maintain consistent cell lists.  (Apart
from some known TinyMCE issues...)

Corrections and comments are welcome.  Improvements more so!

>   * I want to be able to compose interacts.  That is, I'd like to  

I'm not very familiar with functional programming, categories, or much
else, but I think we're discussing an "interact" monad for Sage.

Potentially useful links:

http://en.wikipedia.org/wiki/Monad_(functional_programming)
http://en.wikipedia.org/wiki/Monad_(category_theory)

I also found this loose interpretation of jQuery as a monad (see comment
13):

http://importantshock.wordpress.com/2009/01/18/jquery-is-a-monad/

Perhaps some experts could lend their insight?


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to