Code Monkey home page Code Monkey logo

Comments (5)

dyoo avatar dyoo commented on July 21, 2024

Thanks, will investigate.

from whalesong.

soegaard avatar soegaard commented on July 21, 2024

I suspect the first #' in the fold-expressions should be an #` .

;; A syntactic form to make it more convenient to focus and bind multiple things
;; (view-bind-many a-view
;; [id type function]
;; [id type function] ...)
(define-syntax (view-bind-many stx)
(syntax-case stx ()
[(_ a-view [a-selector a-type a-function] ...)
(foldl (lambda (a-selector a-type a-function a-view-stx)
#'(view-bind (view-focus #,a-view-stx #,a-selector)
#,a-type
#,a-function))
#'a-view
(syntax->list #'(a-selector ...))
(syntax->list #'(a-type ...))
(syntax->list #'(a-function ...)))]))

from whalesong.

dyoo avatar dyoo commented on July 21, 2024

On Mon, Feb 13, 2012 at 10:48 AM, Jens Axel Søgaard
[email protected]
wrote:

I suspect the first #' in the fold-expressions should be an #` .

Agreed! Fixing this now. Let me add a test case for this as well.

from whalesong.

dyoo avatar dyoo commented on July 21, 2024

On Mon, Feb 13, 2012 at 11:09 AM, Danny Yoo [email protected] wrote:

On Mon, Feb 13, 2012 at 10:48 AM, Jens Axel Søgaard
[email protected]
wrote:

I suspect the first #' in the fold-expressions should be an #` .

Agreed!  Fixing this now.  Let me add a test case for this as well.

Fix in c8e0b84; I'll get a version of
Whalesong released later tonight that includes this.

from whalesong.

dyoo avatar dyoo commented on July 21, 2024

Ok, added example in web-world/examples/color-buttons.rkt. This will be in the next release.

from whalesong.

Related Issues (20)

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.