Giter VIP home page Giter VIP logo

interactive-syntax's People

Contributors

leifandersen avatar spdegabrielle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

interactive-syntax's Issues

Contract Validation

Screenshot 2021-01-09 014627

What does this mean? Is it because the file is read-only (I already removed the read-only setting)?

tests fail with error ' bad syntax in: (for/fold/derived (for/fold ((res '

Apologies - this was poorly logged originally

I get this error when I attempt to run any of the tests, starting with tests/example.rkt

Kind regards,

Stephen


The '#:result' doesn't look right? I can't find it in the reference for for/fold

editor/stdlib.rkt:346:4

http://docs.racket-lang.org/reference/for.html?q=for%2Ffold#%28form._%28%28lib._racket%2Fprivate%2Fbase..rkt%29._for%2Ffold%29%29

(for/fold ([accum-id init-expr] ...) (for-clause ...) body-or-break ... body)


Welcome to DrRacket, version 6.11 [3m].

Language: racket/base, with debugging; memory limit: 128 MB.
. ../editor/stdlib.rkt:346:4: for/fold/derived: bad syntax in: (for/fold/derived (for/fold ((res (quote ())) (w 0) (h 0) (x (+ l sx)) (y (+ t sy)) #:result (values (reverse res) (max sw (+ w l r)) (max sh (+ h t b)) l t r b)) ((i (in-list editor-list))) (cond ((and stretchable? (is-a? i stretchable<$>)) (define-values (w* h*) (send (car i) get-max-extent x y)) (values (cons (list w* h*) res) (x-extent w w*) (y-extent h h*) (x-draw x w*) (y-draw y h*))) (else (define-values (w* h* l t r b) (send (car i) get-extent x y)) (values (cons (list w* h* l t r b) res) (x-extent w w*) (y-extent h h*) (x-draw x w*) (y-draw y h*))))) ((res (quote ())) (w 0) (h 0) (x (+ l sx)) (y (+ t sy)) #:result (values (reverse res) (max sw (+ w l r)) (max sh (+ h t b)) l t r b)) ((i (in-list editor-list))) (cond ((and stretchable? (is-a? i stretchable<$>)) (define-values (w* h*) (send (car i) get-max-extent x y)) (values (cons (list w* h*) res) (x-extent w w*) (y-extent h h*) (x-draw x w*) (y-draw y h*))) (else (define-values (w* h* l t r b) (send (car i) get-extent x y)) (values (cons (list w* h* l t r b) res) (x-extent w w*) (y-extent h h*) (x-draw x w*) (y-draw y h*)))))

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.