Code Monkey home page Code Monkey logo

Comments (4)

asajeffrey avatar asajeffrey commented on August 17, 2024

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.

larrytheliquid avatar larrytheliquid commented on August 17, 2024

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.

asajeffrey avatar asajeffrey commented on August 17, 2024

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.

asajeffrey avatar asajeffrey commented on August 17, 2024

Discussion has moved to #3.

from agda-frp-js.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.