• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
Dexlind Avatar
Name:Dexlind
Clan:Gensokyo
Skills:卖萌~
Member Since:May 2017
Last Seen:Mar 2022
Profiles:
Following:442
Followers:443
Allies:428
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (35)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • IMagirus
    • commented on "Tricky Kotlin #8: Simple for-comprehension" kata
    • 4 months ago

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

  • Custom User Avatar
    • krnets
    • commented on "Twice linear" kotlin solution
    • 3 years ago

    This solution has me stumped. I totally don't get how this works.

  • Custom User Avatar
    • Offsuit Knave
    • commented on "Tricky Kotlin #8: Simple for-comprehension" kata
    • 3 years ago

    I feel like as a kotlin exercise this misses the point of nullability in kotlin. for any type T whe can have T? or nullable T and this is a core feature of kotlin the the language is built to support. so in using optional you are using javas hacky tool that is designed to do what kotlin natively does.

  • Custom User Avatar
    • lockshe
    • commented on "Tricky Kotlin #8: Simple for-comprehension" kata
    • 4 years ago

    Same, i used Continuation.resumeWithException, and the programme always truns wrong untill i removed it.

  • Custom User Avatar
    • FArekkusu
    • created an issue for "Tricky Kotlin #8: Simple for-comprehension" kata
    • 4 years ago

    dont_use_try_and_catch

    Such information should be present in the description.

  • Custom User Avatar
    • yjl9903
    • commented on "Tricky Kotlin #8: Simple for-comprehension" kata
    • 4 years ago

    There is a typo in the empty solution.

    Line 11: implemention -> implementation

  • Custom User Avatar
    • Kroppeb
    • commented on "Tricky Kotlin #8: Simple for-comprehension" kata
    • 5 years ago

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

  • Custom User Avatar
    • Dexlind
    • commented on "Tricky Kotlin #4: prevent StackOverflow" kotlin solution
    • 5 years ago

    Yes.

  • Custom User Avatar
    • ipergenitsa
    • commented on "Tricky Kotlin #8: Simple for-comprehension" kata
    • 5 years ago

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

  • Custom User Avatar
    • ipergenitsa
    • commented on "Tricky Kotlin #8: Simple for-comprehension" kata
    • 5 years ago

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

  • Custom User Avatar
    • ipergenitsa
    • commented on "Tricky Kotlin #4: prevent StackOverflow" kotlin solution
    • 5 years ago

    It can consume huge amount of memory, right?

  • Custom User Avatar
    • lilsweetcaligula
    • commented on "Church numbers (ii)" javascript solution
    • 6 years ago

    I find your solution of pred to be both amazingly simple and elegant.

  • Custom User Avatar
    • Akomer
    • commented on "Tricky Kotlin #8: Simple for-comprehension" kata
    • 6 years ago

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

  • Custom User Avatar
    • ice1000
    • commented on "Tricky Kotlin #8: Simple for-comprehension" kata
    • 6 years ago

    Approved

  • Custom User Avatar
    • ice1000
    • commented on "Tricky Kotlin #8: Simple for-comprehension" kata
    • 6 years ago

    What's the problem with the package statement? I don't think it can cause any problem.

    You can use

    object solution {
      // things originally in your package
    }
    

    though.

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...