Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
I have to open this issue again. Still getting the same error.
This comment is hidden because it contains spoiler information about the solution
In your solution isFloat catches most of the invalid input, but not all. For example, if the argument contains more than one decimal mark (e.g. "123..2" or "123.1.2"), the read function fails.
If there are no example tests, you shouldn't expected it to work properly when run.
There might not be any example tests but there are always real tests.
In this case, just submit the solution and don't bother with sample tests (or you can write you own there).
Haskell version shows no test cases. Thus "Run sample tests" button lead to error.
IMHO too easy on Haskell, even for 8 kyu.
IIRC in this case there is no need to explicitly annotate the type of (read x), because the compiler is able to derive it from function signature.