
Wonderful! Also amazed to see how the image comes out in the emacs repl in racket-mode

@jbclements pull requests welcome to either add yours or make things extensible :slightly_smiling_face:

@robby Agh! Got me. :slightly_smiling_face:

/kick-drdr


@mflatt What is the #:tag feature in define-cpointer-type
, do?

(I ask because define-cstruct
seems to use it, but its not documented.

(Trying to make my own define-cstruct
that can make structs for different (ABI breaking) versions of the same library. Which is why this is relevant to me.)

It specifies a tag as an alternative to the default 'id
. I’ll make a note to add that to the docs.

Ah, okay

I’d be happy to do it if that helps.

@drdeeglaze standard-cat is rad!

Yes…it should get merged. :slightly_smiling_face:

We could have pict/farm
. :slightly_smiling_face:

@samth what’s that command do?

@royall it resets the CI server build at http://drdr.racket-lang.org\|drdr.racket-lang.org

Best not to run it unless that’s hung

@ben The cat-silhouette function would be good way to build that version. I can also have #:left-eye and #:right-eye options that take picts and place them appropriately. Probably #:nose too.

@vngls has joined the channel

Also @mflatt I submitted a PR to add it to the docs: https://github.com/racket/racket/pull/1844

/kick-drdr

Can someone explain why these two programs print different things? Maybe @mflatt or @samth? #lang racket
(require (for-syntax racket/syntax)
syntax/parse/define)
(define-simple-macro (mac)
#:do [(define x (generate-temporary))
(define intdef-ctx (syntax-local-make-definition-context))
(define x* (internal-definition-context-introduce intdef-ctx x))
(syntax-local-bind-syntaxes (list x) #f intdef-ctx)
(println (identifier-binding x*))]
(void))
(mac) ; => #f
#lang racket
(require (for-syntax racket/syntax)
syntax/parse/define)
(define-simple-macro (mac)
#:do [(define x (syntax-local-introduce (generate-temporary)))
(define intdef-ctx (syntax-local-make-definition-context))
(define x* (internal-definition-context-introduce intdef-ctx x))
(syntax-local-bind-syntaxes (list x) #f intdef-ctx)
(println (identifier-binding x*))]
(void))
(mac) ; => 'lexical
The only difference is the addition of syntax-local-introduce
in the second program.

I don’t see how that could happen, so I hope @mflatt can explain

It appears to happen in racket7 as well, fwiw.

@drdeeglaze commented on @drdeeglaze’s file https://racket.slack.com/files/U7G2ELB8B/F7JQUF23Z/standard-cat.rkt\|standard-cat.rkt: Something along these lines? http://pasterack.org/pastes/98623

@drdeeglaze commented on @drdeeglaze’s file https://racket.slack.com/files/U7G2ELB8B/F7JQUF23Z/standard-cat.rkt\|standard-cat.rkt: And parameterized: http://pasterack.org/pastes/3335

@drdeeglaze commented on @drdeeglaze’s file https://racket.slack.com/files/U7G2ELB8B/F7JQUF23Z/standard-cat.rkt\|standard-cat.rkt: And all together http://pasterack.org/pastes/67921

I’m on a chrome book, so everything has to be done through the browser. I’ve been using http://pasterack.org\|pasterack.org as a REPL, and that’s a rough experience. Especially with all the captcha requirements as you iterate. Eagerly awaiting racketscript + pict + racket/draw support so I can fiddle with images faster. I can ssh into a machine with racket for text-based iteration, but graphical stuff is hard.

Got my hands on a mac and figured out the whiskers for the cat. Wrote some contracts. Tomorrow, docs! (compilation takes too long for pasterack to render the image now)

@ben commented on @drdeeglaze’s file https://racket.slack.com/files/U7G2ELB8B/F7JQUF23Z/standard-cat.rkt\|standard-cat.rkt: yes yes yes!

@notjack commented on @drdeeglaze’s file https://racket.slack.com/files/U7G2ELB8B/F7JQUF23Z/standard-cat.rkt\|standard-cat.rkt: this is incredible and I’m glad I got to watch it come together :p
@ben commented on @drdeeglaze’s file https://racket.slack.com/files/U7G2ELB8B/F7JQUF23Z/standard-cat.rkt\|standard-cat.rkt: feature request: add a boolean option to make the eyes “closed” (upside-down U-shapes) :smile_cat: