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, not thueMorse
isThueMorse
thueMorse
In Haskell only 1 + tan(x)^2 is accepted
1 + tan(x)^2
If 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 called go in Haskell
removeO
go
The 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.
Loading collection data...
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.