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.
7 lines
353 B
Racket
7 lines
353 B
Racket
#lang racket/base
|
|
(require sugar/define racket/set sugar/coerce)
|
|
(require-via-wormhole "../typed/sugar/string.rkt")
|
|
|
|
(provide+safe [starts-with? (coerce/string? coerce/string? . -> . coerce/boolean?)]
|
|
[ends-with? (coerce/string? coerce/string? . -> . coerce/boolean?)]
|
|
[capitalized? (coerce/string? . -> . coerce/boolean?)]) |