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 can't answer a question if none is given. I can't correct your code if none is given. I can't see incomplete solutions.
I'm guessing you're confirming that you must write those four functions. Yes, you must write
head
,tail
,init
andlast
.I am resolving this question as there is no more to say.
I am new to haskell, in this kata it is giving me parse error near =
of what i have understood is I have to define function head tail last and init