Skip to content

Instantly share code, notes, and snippets.

@takikawa
Created June 17, 2013 21:00
Show Gist options
  • Save takikawa/5800388 to your computer and use it in GitHub Desktop.
Save takikawa/5800388 to your computer and use it in GitHub Desktop.
Need nominal type...
$ racket -I typed/racket
Welcome to Racket v5.3.4.12.
-> (require typed/framework)
-> (require typed/racket/gui)
-> ((inst canvas:wide-snip-mixin #:row (init [parent (Instance Dialog%)] [editor (Instance Text:Basic%)])) editor-canvas%)
; wide-snip-mixin: argument class does not implement interface
; argument: #<class:editor-canvas%>
; interface name: #<interface:basic<%>>
; [,bt for context]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment