Open bennn opened 7 years ago
The syntax->type-rep function converts a Typed Racket syntax object to syntax for racket/contract. It has a few maintenance problems:
syntax->type-rep
racket/contract
#:literals
Listof
Vectorof
The
syntax->type-rep
function converts a Typed Racket syntax object to syntax forracket/contract
. It has a few maintenance problems:#:literals
to match Typed Racket identifiers, it's easy for#:literals
to diverge from the syntax-parse patternsListof
andVectorof
are very similar cases in the "fold" over TR syntaxracket/contract
syntax