Not sure how this never got looked at.

The language version is now invalid, if you update it, ill approve.

I kneel.

• ###### davidameycommented on "Mexican Wave" go solution

Runes in Go loosely equate to the "charcode as an int", and are represented by single-quotes.

It's definitely a bit 'black magic', but it says:
Take the charcode stored in c, take off the charcode of "a" (97) and add the charcode of "A" (65). Then, convert the result back to a string.

So, for example, the letter "r" has ascii value 114. 114 - 97 + 65 = 82, which is the charcode of R.

• ###### gmhcodecommented on "Mexican Wave" go solution

can someone explain what exactly this does and how?
string(c-'a'+'A')

• ###### NotGargarincommented on "Counting Duplicates" haskell solution

This comment is hidden because it contains spoiler information about the solution

• ###### davidameycommented on ""Suitcase packing" Haskell Translation"

Good to know, thanks!
I had just copied the python one, which I've also fixed now.

• ###### JohanWiltinkcommented on ""Suitcase packing" Haskell Translation"

Language-specific code blocks use lowercase language names.

fixed

• ###### davidameycreated an issue for "Josephus Survivor" kata

The Haskell sample tests have the solution-method in them. Probably shouldn't!

• ###### JohanWiltinkcommented on ""Filter out the geese" Haskell Translation"

Does this use GHC 7.x? Why not get with the times?

• ###### davidameycommented on "" Baby shark lyrics generator" C# Translation"

True. Let's leave for a bit and see if people manage to solve.

• ###### user8436785commented on "" Baby shark lyrics generator" C# Translation"

I agree.
You could minify your solution more, though (remove indentation, remove newlines, etc.)