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
republished a fix that evaluates the output of
identitySort
and added some random testcasese.for some reason
solutionShouldHide
fails to parse the Solution so I couldn't use it to block certain modules. Instead I tried to add an evaluation at the end to hopefully disallow that kinds of solutions.This comment is hidden because it contains spoiler information about the solution
Well, the kata has no random tests, so...
The typical
Unsafe
modules needs to be banned, otherwise this happensI truly LOVE the idea of this kata!
Looks like it's been added back now.
Sample tests puts assumption on how
TimeLinesState
should be defined. The initial code has signaturebut sample tests can only be run with
, which this is not specified anywhere, and is basically a fake degree of freedom.
The initial code is a mess. Shouldn't
instance Applicative
be defined beforeinstance Monad
? And the type hints can (and should) go to the initial code instead of the description.Is the number of channels hardcoded as
2
? Or is "multiple" to be taken as "unlimited" ?The example where the state type is the same as the output type is less than ideal to clarify this.
Needs actual specs instead of just an example. Again, autor, this is an invitation to read your mind.
Needs actual specs. Examples are nice, but they are an invitation to read author's mind. Please specify how
branchTimeLines
is supposed to behave.get
,put
,modify
,state
andgets
also need actual specification. You can assume the normal behaviour is known, but their behaviour with multiple timelines is not.using
reads
was actually quite bad of an ideaThis thing took quite a bit to do
Would have been even kinda easy if I knew Haskell on any acceptable level. Most struggles were to make types work out and complie : |
Loading more items...