typed-racket/typed-racket-test/succeed/regexp-match-kw.rkt
2014-12-16 10:07:25 -05:00

7 lines
234 B
Racket

#lang typed/racket
(ann (regexp-match* "foo" "foobar") (Listof String))
(ann (regexp-match* "foo" #"foobar") (Listof Bytes))
(ann (regexp-match* #"foo" "foobar") (Listof Bytes))
(ann (regexp-match* #"foo" #"foobar") (Listof Bytes))