Move unstable/generics to generics.

This commit is contained in:
Asumu Takikawa 2012-05-08 16:46:28 -04:00
parent a3ad719b52
commit 518bf0fd30
6 changed files with 13 additions and 7 deletions

View File

@ -0,0 +1,5 @@
#lang setup/infotab
(define name "Generics")
(define blurb '((p "Generic method dispatch for Racket")))
(define scribblings '(("scribblings/generics.scrbl")))

View File

@ -0,0 +1,4 @@
#lang racket/base
(require "generics.rkt")
(provide (all-from-out "generics.rkt"))

View File

@ -1,11 +1,10 @@
#lang scribble/manual
@(require "utils.rkt" (for-label racket/base unstable/generics))
@(require (for-label racket/base generics))
@title{Generics}
@unstable["Eli Barzilay"
@author+email["Jay McCarthy" "jay@racket-lang.org"]]
@author["Eli Barzilay" @author+email["Jay McCarthy" "jay@racket-lang.org"]]
@defmodule[unstable/generics]
@defmodule[generics]
@defform/subs[(define-generics (name prop:name name?)
[method . kw-formals*]
@ -103,7 +102,7 @@ Syntactically an error when used outside @racket[define-methods].
@(define (new-evaluator)
(let* ([e (make-base-eval)])
(e '(require (for-syntax racket/base)
unstable/generics))
generics))
e))
@(define evaluator (new-evaluator))

View File

@ -86,7 +86,6 @@ Keep documentation and tests up to date.
@include-section["flonum.scrbl"]
@include-section["future.scrbl"]
@include-section["function.scrbl"]
@include-section["generics.scrbl"]
@include-section["hash.scrbl"]
@include-section["class-iop.scrbl"] ;; Interface-oriented Programming
@include-section["lazy-require.scrbl"]

View File

@ -10,7 +10,6 @@
(check-docs (quote unstable/markparam) #:skip #rx"^deserialize-info:")
(check-docs (quote unstable/list))
(check-docs (quote unstable/hash))
(check-docs (quote unstable/generics))
(check-docs (quote unstable/function))
(check-docs (quote unstable/find))
(check-docs (quote unstable/file))