You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Raised this in gutter yesterday and am adding some notes here.
My basic thought was that it would be great to be able to define Display instances for types in the same way as one defines Show instances. Depending on how the architecture of HaskellDO evolves, I saw this effectively as compiling the instance to a JavaScript function (ghcjs) and embedding the js in the frontend. Some instances would probably need to take some form of state to update the rendered html/svg so that subsequent calls don't recompile the js on refresh.
Additionally, one could also define interfaces that would paramterize types like the mat lab functionality of creating inline sliders etc.
The text was updated successfully, but these errors were encountered:
Raised this in gutter yesterday and am adding some notes here.
My basic thought was that it would be great to be able to define Display instances for types in the same way as one defines Show instances. Depending on how the architecture of HaskellDO evolves, I saw this effectively as compiling the instance to a JavaScript function (ghcjs) and embedding the js in the frontend. Some instances would probably need to take some form of state to update the rendered html/svg so that subsequent calls don't recompile the js on refresh.
Additionally, one could also define interfaces that would paramterize types like the mat lab functionality of creating inline sliders etc.
The text was updated successfully, but these errors were encountered: