racket/collects/plai/random-mutator.rkt
2010-04-27 16:50:15 -06:00

19 lines
503 B
Racket

#lang scheme/base
(require "private/random-mutator.ss"
scheme/contract
"private/gc-core.ss")
(provide/contract
[save-random-mutator
(->* (path-string?
string?)
(#:iterations
exact-positive-integer?
#:heap-values (cons/c heap-value? (listof heap-value?))
#:program-size exact-positive-integer?
#:heap-size exact-positive-integer?)
void?)]
[find-heap-values
(-> (or/c path-string? input-port?)
(listof heap-value?))])