Add Fuzzer to the prelude.

This commit is contained in:
KtorZ
2024-03-01 17:02:49 +01:00
parent 5b4fedd084
commit 93347d8e7b
3 changed files with 26 additions and 5 deletions

View File

@@ -2,9 +2,6 @@ use aiken/builtin
const max_int: Int = 255
pub type Fuzzer<a> =
fn(PRNG) -> Option<(PRNG, a)>
// Primitives
pub fn any_int() -> Fuzzer<Int> {

View File

@@ -1,5 +1,5 @@
use aiken/dict.{Dict}
use aiken/fuzz.{Fuzzer}
use aiken/fuzz
use aiken/int
pub type Season {