How to find minimal input crashing the Haskell code? -


i have function crashes on inputs. algoritm breaks invariant map should contain value given key. might input invalid.

the function of type intmap.intmap [int] -> io int. io used random numbers , crashes on ! function.

is possible narrow down error conditions function without refactoring first using haskell tools quickcheck?


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -