phc-toolkit/tmpl.rkt
2017-04-27 23:38:55 +02:00

14 lines
330 B
Racket

#lang typed/racket
(require "typed-untyped.rkt")
(define-typed/untyped-modules #:no-test
(provide !each)
(module m-!each racket
(provide !each)
(require syntax/parse/experimental/template)
(define-template-metafunction (!each stx)
(syntax-case stx ()
[(_ a b) #'b])))
(require 'm-!each))