This comment is hidden because it contains spoiler information about the solution
heyyy nice one!
great answer using common sense lol I took the long route
Haskell tests should be written in a way so the compiler still knows the types for the test cases without clearly inferable type so function can be written more general for any Ord a, instead of having to be type specific.
Try now with Node version 12+, backup your code, click reset to update the sample tests, paste your code and try again.
Done.
Loading collection data...
This comment is hidden because it contains spoiler information about the solution
heyyy nice one!
great answer using common sense lol I took the long route
Haskell tests should be written in a way so the compiler still knows the types for the test cases without clearly inferable type so function can be written more general for any Ord a, instead of having to be type specific.
Try now with Node version 12+, backup your code, click reset to update the sample tests, paste your code and try again.
Done.
This comment is hidden because it contains spoiler information about the solution