Comments (4)
Just a placeholder response for now, I'm packing to head off to PoPL. Glad to see that someone is going over my code!
Yes, the current API is certainly not expressive enough. Join shouldn't be a problem (indeed I think the JS code is already there). Non-behaviour DOM nodes is a bit trickier, as you need to make sure that a DOM(t) node is only constructed at time t. At the moment, the invariants that are being maintained by the JS FRP implementation are, er, underspecified. It would be nice to make these invariants more precise, to know what extensions to the existing API are considered safe.
from agda-frp-js.
Awesome, thanks I started to look at implementing join today. Hopefully I'll update this post with a link to the fork when I have something (mostly I need to read over / understand your signal js runtime.)
I updated the gist to compile with an example postulated join. Is a join at the level of Behaviors like that ok, or should it be specialized to "Dom w" rather than arbitrary reactive type "A"?
from agda-frp-js.
Yes, I was expecting join to have the type ⟦ Beh (Beh A) ⇒ Beh A ⟧. As you may detect, you are about to enter an extremely untested bit of the JS runtime.
from agda-frp-js.
Discussion has moved to #3.
from agda-frp-js.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agda-frp-js.