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.
Could you switch the argument name as well? It can be confusing.
to:
+1 for stop.
Actually, only one is given in one of the test cases when calling
Plugboard()
without any arguments for testing empty construction. Honestly, I think it should bePlugboard('')
for empty pairing.:(
Radii is the plural form of radius (thanks to the irregularity of English).
This comment is hidden because it contains spoiler information about the solution
The test case does not test for input validation.
Haskell's function arguments are switched.
It is currenty:
while it should be:
This comment is hidden because it contains spoiler information about the solution
In Haskell, the type checking freaks out because the solution has type of
Int -> String
, but it getsInteger
as input for test cases.So, the type of solution should be either:
solution :: Integer -> String
or more generally:
solution :: Integral a => a -> String
Would you kindly put colons at the end of function definition in Python?
The Python one seems incomplete.
Test cases have error, and the solution test cases only check once.
The submit test has test case for empty list, but the test cases doesn't.
I think the wording is a bit vague. You should say, "you are not allowed to use
Data.List
orData.Strings.Utils
modules." (or something like that). I was puzzled because when you saidjoin
functions, I thought it meant functions starting withjoin
which does not exist.Typo:
(>>=) :: m a -> (a -> m a) -> m b
should be:
(>>=) :: m a -> (a -> m b) -> m b
Loading more items...