How to do define-for-syntax in typed racket?

后端 未结 0 433
南旧
南旧 2020-12-22 20:36

This works

#lang racket

(begin-for-syntax
  (define (foo n)
    (+ n 3)))

So I would also expect this to work

#lang typed/rac         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题