rewrite mzlib/contract to racket/contract

This commit is contained in:
Robby Findler 2013-06-27 19:56:28 -05:00
parent 42b5cfe8b2
commit 5eca63699c
3 changed files with 3 additions and 22 deletions

View File

@ -1,24 +1,5 @@
#lang racket/base #lang racket/base
#|
v4 todo:
- add case-> to object-contract
- test object-contract with keywords (both optional and mandatory)
- change mzlib/contract to rewrite into scheme/contract (maybe?)
- raise-syntax-errors
. multiple identical keywords syntax error, sort-keywords
. split-doms
- note timing/size tests at the end of the file.
|#
(require "guts.rkt" (require "guts.rkt"
"blame.rkt" "blame.rkt"
"prop.rkt" "prop.rkt"

View File

@ -1,6 +1,6 @@
(module localization mzscheme (module localization mzscheme
(require mzlib/contract (require racket/contract/base
racket/file racket/file
(only racket/runtime-path define-runtime-path) (only racket/runtime-path define-runtime-path)
racket/string racket/format racket/string racket/format
@ -10,7 +10,7 @@
(current-country (parameter/c symbol?)) (current-country (parameter/c symbol?))
(current-locale-details (parameter/c (listof symbol?))) (current-locale-details (parameter/c (listof symbol?)))
(declare-bundle! (-> (listof symbol?) (listof pair?) any)) (declare-bundle! (-> (listof symbol?) (listof pair?) any))
(load-bundle! (->* ((listof symbol?)) any/c any)) (load-bundle! (->* ((listof symbol?)) #:rest any/c any))
(store-bundle! (-> (listof symbol?) any)) (store-bundle! (-> (listof symbol?) any))
(localized-template (-> symbol? any/c any))) (localized-template (-> symbol? any/c any)))

View File

@ -1,5 +1,5 @@
(module to-string mzscheme (module to-string mzscheme
(require mzlib/contract (require racket/contract/base
syntax/stx) syntax/stx)
(require racket/list) (require racket/list)