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.
Loved this kata! I exploited a symmetry I found, but I don't really understand how my solution works.
In Haskell the function is called
isThueMorse
, notthueMorse
In Haskell only
1 + tan(x)^2
is acceptedIf only those input lists starting with 0 wouldn't be there... Great kata, I'll rack my brain over it the coming weeks.
This comment is hidden because it contains spoiler information about the solution
The description says the function should be called
removeO
, yet the function is calledgo
in HaskellThe random tests in Haskell sometimes contain the substring "--"
GHC 7.10 isn't available for me
For me, this kata fails with
SingletonsSpec.hs:9:8:
Could not find module `Test.Hspec.Codewars'
Perhaps you meant
Test.Hspec.Compat
Test.Hspec.Core (from hspec-2.2.4@hspec_GEAgkH1Gbr9BY0qzvd784f)
Test.Hspec.Core.Tree
Use -v to see a list of the files searched for.