Skip to content

Instantly share code, notes, and snippets.

@takikawa
Created December 5, 2012 18:11
Show Gist options
  • Select an option

  • Save takikawa/4218052 to your computer and use it in GitHub Desktop.

Select an option

Save takikawa/4218052 to your computer and use it in GitHub Desktop.
TR and mandatory keywords
plt/racket-git/collects/typed-racket/utils/tc-utils.rkt:154:0: Internal Typechecker Error: funapp with keyword args ((Unknown Type: #(struct:Keyword 952 #(struct:combined-frees #hasheq() ()) #(struct:combined-frees #hasheq() ()) #f #f #:foo Integer #t))) NYI
while typechecking:
(#%app f)
originally:
(f)
#lang typed/racket
(: f (#:foo Integer -> Integer))
(define (f #:foo foo) foo)
(f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment