You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
397 B
Racket
10 lines
397 B
Racket
#lang typed/racket/base
|
|
(provide (all-defined-out))
|
|
|
|
(define-type Pattern String)
|
|
(define-type Patterns (Listof String))
|
|
(define-type Pattern-Hash-Key Pattern)
|
|
(define-type Pattern-Hash-Value (Listof Natural))
|
|
(define-type Pattern-Hash (HashTable Pattern-Hash-Key Pattern-Hash-Value))
|
|
(define-type Pattern-Hash-Pair (Pairof Pattern-Hash-Key Pattern-Hash-Value))
|
|
(define-type Exception-Word String) |