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.
You don't really need the Data.Char imported.
I really do need to work on my knowledge of the prelude functions. I tend to not rely enough on them.
hi,wickedswami215!What is the error of the output?If you get the array length error?Please make an array of empty judgement and need a return value,for example:return [];If it is the other error,please list the error message.
Thanks suic for the quick fix.
Thanks! It's fixed now. Regards, suic
the haskell function type seems wrong!
It's Maybe [Double] -> Double, I think the result type should be [Double]
The length of the input data can be less then 5.