You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Racket Users
I want to create a gui app. But then I need: #lang racket/gui But when i click a button i want type control in the functions so i need : #lang typed/racket Are there solutions ?
Sam Tobin-Hochstadt
unread,
Feb 10, 2020, 4:19:04 PM2/10/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Alain De Vos, Racket Users
Yes, you can use Typed Racket together with racket/gui -- there's a
`typed/racket/gui` module that you can `require`, and also you can
simply write the handler functions in `#lang typed/racket` and
`require` them into your GUI application code.
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Alain De Vos, Racket Users
If I’m not mistaken, you can do `(require typed/racket/gui)` within a `#lang typed/racket` program. That’s thanks to the wonderful typed-racket-more package.