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

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -