Switch utils to Typed Racket.
This commit is contained in:
parent
f62d53ed8f
commit
97d4c18305
2 changed files with 497 additions and 532 deletions
|
@ -1,7 +1,7 @@
|
|||
#lang scribble/manual
|
||||
@(require scribble/example racket/sandbox
|
||||
(for-label typed/racket/base graph
|
||||
(submod "../utils.rkt" typed)
|
||||
"../utils.rkt"
|
||||
(only-in typed/graph Graph)
|
||||
(only-in racket/set set)
|
||||
(only-in racket/stream stream->list stream-take)))
|
||||
|
@ -14,20 +14,11 @@ This module defines miscellaneous utilities, supporting the other modules of
|
|||
the package: evaluating sexps, manipulating lists,
|
||||
@hyperlink["https://orgmode.org/"]{Org-mode} interoperability, etc.
|
||||
|
||||
@bold{Note:} I am currently migrating this module to Typed Racket.
|
||||
This documentation only lists the functions and the types which have already
|
||||
been converted. However, the typed part is currently hidden in an untyped
|
||||
module, so you cannot yet use the types directly.
|
||||
|
||||
@bold{TODO:} Hyperlinks are currently broken in this document because it
|
||||
actually documents a submodule. Fix them once the migration to Typed Racket
|
||||
has reached a fixed point.
|
||||
|
||||
@(define utils-evaluator
|
||||
(parameterize ([sandbox-output 'string]
|
||||
[sandbox-error-output 'string]
|
||||
[sandbox-memory-limit 50])
|
||||
(make-evaluator 'typed/racket #:requires '((submod "utils.rkt" typed)))))
|
||||
(make-evaluator 'typed/racket #:requires '("utils.rkt"))))
|
||||
|
||||
@section{Base types}
|
||||
|
||||
|
|
Loading…
Reference in a new issue