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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -