trivial/icfp-2016/examples/db-types-fail.rkt
2016-03-20 00:06:07 -04:00

9 lines
309 B
Racket

#lang typed/racket/base
;(define-new-subtype Database (database (Listof Table)))
;;; Issue 1: need (Listof T *)
;;(define-new-subtype Table (table (Pairof Symbol (Listof T))))
;(define-new-subtype Table (table (Pairof Symbol (Listof Any))))
;
;(define-type Me (Database (Table 'word (List Natural String))))