• ###### eodresolved an issue on "Reverse every other word in the string" kata

@JohanWiltink

Yes. Thanks for producing (the Haskell version at least) and updating the kata!

Regards,

eod

• ###### eodcreated an issue for "Reverse every other word in the string" kata

I think the definition of what every other word means is not reflected in your test coverage. Here are two examples which demonstrate my point:

Here "this" is the first other word and "please" is clearly the second other word.

Nothing surprising here.

" fkwbe csnou vcxj gv"

In this example, I expect the first other word to be "csnou" but your tests seem to want "fkwbe" to be the first other word. This does not really make any sense to me unless there is something that I'm missing.

I hope this explanation makes sense.

Regards!

P.S. This was uncovered in the Haskell tests. If that matters.

• ###### eodcommented on "The maximum and minimum difference -- Simple version" haskell solution

This is more efficient than my previous solution. The last solution's complexity is O(n^2). This is O(n*log(n)) in the best case I am pretty sure.

• ###### eodcommented on "Generic numeric template formatter" kata

My solution does not show up in the solutions page for some strange reason. Has something like this happened to anyone else?

• ###### eodcommented on "Simple rotated palindromes" haskell solution

I just wanted to see how far I could get away with pointfree nonsense. This is not a serious solution at all.

• ###### eodcommented on "Simple Fun #239: Permutation Cycle" kata

This is a cool little problem. Thanks!

• ###### eodcommented on "Multiplying numbers as strings" kata

I don't think there should be a Haskell version of this problem. If you take a look at the Haskell solutions, you'll see that this task is rather trivial.

• ###### eodcommented on "A Simple Postfix Language" kata

I am getting this error when I try to submit my solution:

No instance for (Show t0) arising from a use of `property' The type variable `t0' is ambiguous
Note: there are several potential instances:
instance Show Test.HUnit.Base.Counts
-- Defined in `Test.HUnit.Base' instance Show Test.HUnit.Base.Node -- Defined in `Test.HUnit.Base'
instance Show Test.HUnit.Base.State -- Defined in `Test.HUnit.Base' ...plus 291 others In the expression: property In a stmt of a 'do' block: property \$ \ x y z -> begin push x push y push z end == (z :: Int) In the second argument of `(\$)', namely
`do { property
\$ \ x y z -> begin push x push y push z end == (z :: Int) }'

Do you have any pointers as to what the problem might be? Or could it be on your end?

• ###### eodcommented on "4 By 4 Skyscrapers" haskell solution

I should probably clean this up at some point in time. Anyway, it would be great to hear anyone's thoughts about my solution.

• ###### eodcreated an issue for "FabergĂ¨ Easter Eggs crush test" kata

This kata's description is terrible! Please fix it.

• ###### eodcreated an issue for "Decimal to Factorial and Back" kata

When I run my code after clicking the ATTEMPT button in the lower left, I get this error message:

Tab character

Tab character

Tab character