Open rosekunkel opened 7 years ago
Question: why is "write contracts" a task? I mean, why not use the types from the benchmarks?
I've looked at your sieve and morsecode but I'm not sure if you're inferring contracts yourself or using the types. For example:
char-table
, why hash?
instead of (hash/c char? symbol?)
(original type)exact-integer?
instead of natural numbers? (original types)Also, FYI, I'm hoping to run these benchmarks "as-is" through soft contracts and I started a mapping from contracts to Typed Racket syntax here.
We'll figure out getting the contracts from TR programs eventually. But for a while we just added the contracts manually, which somewhat mismatched with the types.
Progress for verifying the benchmarks in https://github.com/nuprl/gradual-typing-performance/tree/master/benchmarks
accumulated-%s
)