[Haskell-cafe] Generating random arguments for a function

Stephen Tetley stephen.tetley at gmail.com
Sun Jan 13 09:49:08 CET 2013


In general you can't do this whether you use pats of QuickCheck or not
- `randomEvalute` would need to inspect the supplied function to see
how many input parameters it has so it can list them, but there is no
such introspection in Haskell.



More information about the Haskell-Cafe mailing list