Many many ThanksBrofor such a useful touchNaming the language You've attempt the problem in , Making it more easier to heal the issue
concerning Seems like a bug of codewars itselfI agree with you , since this Kata has been Completed in Scala 32 timesand it's only one has raised even an issue about it
any way , I've mentioned Scala translator to Check it and do the necessary
Happy to follow youBro .. and I'll keep the issue unresolved till modifications occur .. Regards .. Zizou
I also figured out name is redundant in type and typeParam. It's always available through userType -> simpleUserType, where the [ "<" typeParams ">" ] is optional. That saved a lot of time on ambiguous parsing.
This is still not complete, it can not hold cases like () -> B -> Function0<B>.
Anyway, it is easy to guess the what the proper form should be, though the desc. need to be updated.
No idea if this passes or not but I have fixed the fact that the scala tests were hot garbage.
TIL Enum.uniq exists, nice!
After reading through the comments, I realized that this is probably my mistake.
If I am not wrong on this, then there're several other tests that share the same problem.
This comment is hidden because it contains spoiler information about the solution
@zebralan ..
This comment is hidden because it contains spoiler information about the solution
Cheers!
I also figured out
name
is redundant intype
andtypeParam
. It's always available throughuserType
->simpleUserType
, where the[ "<" typeParams ">" ]
is optional. That saved a lot of time on ambiguous parsing.@JohanWiltink Updated.
(JS)
The description is not updated and I ran into the same issue ..
( For me, it is not easy to guess. )
Thanks guys. I nearly forget the existence of this kata :)
Okey. I forget about that one, though I did accommodate it with my code :).
This is still not complete, it can not hold cases like
() -> B
->Function0<B>
.Anyway, it is easy to guess the what the proper form should be, though the desc. need to be updated.
I guess the Kotlin bnf should actually be the following?
If it is so, then the Java one will have to be modified as well.
Indeed! Thanks!
Loading more items...