Skip to content

Instantly share code, notes, and snippets.

@LiberalArtist
Last active February 22, 2020 19:49
Show Gist options
  • Save LiberalArtist/fb8bbc87989793c543cfea7f3f8e97b3 to your computer and use it in GitHub Desktop.
Save LiberalArtist/fb8bbc87989793c543cfea7f3f8e97b3 to your computer and use it in GitHub Desktop.
application-preferences-handler-issue-demo
#lang racket/gui
(application-preferences-handler #f)
(send (new frame%
[label "Demo"]
[width 500]
[height 500])
show
#t)
Script started on Sat Feb 22 14:29:24 2020
[?1034hSapientia:application-preferences-handler-issue-demo philip$ racket gui-app.rkt
application: not a procedure;
expected a procedure that can be applied to arguments
given: #f
context...:
not-a-procedure
apply
.../private/app.rkt:67:21
.../common/queue.rkt:435:6
call-in-empty-metacontinuation-frame
[repeats 1 more time]
.../common/queue.rkt:486:32
.../common/queue.rkt:634:3
call-in-empty-metacontinuation-frame
call-with-empty-metacontinuation-frame-for-swap
Sapientia:application-preferences-handler-issue-demo philip$ exit
Script done on Sat Feb 22 14:29:45 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment