• 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
andersk Avatar
Name:Anders Kaseorg
Clan:@zulip
Member Since:Apr 2019
Last Seen:Mar 2024
Profiles:
Following:1
Followers:22
Allies:1
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (32)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • checkersai
    • commented on "Unique In Order" haskell solution
    • 16 months ago

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

  • Custom User Avatar
    • lutre69
    • commented on "Loopover" python solution
    • 2 years ago

    I'm still amazed by these kind of solutions and each time I wonder : "Is this person a thousand times more clever than the rest of us? Or does he/she spends 4 * time on the problem studying its ins and outs in order to find the most compact and obscure algorithm..."

  • Custom User Avatar
    • JohanWiltink
    • commented on "A Simple Postfix Language" haskell solution
    • 5 years ago

    But that was for bonus points.

    For the ranking, that should not have been optional really.

  • Custom User Avatar
    • ice1000
    • commented on "Left, left! Right, right! Comp! Symmetric! Q!E!D!" kata
    • 5 years ago

    No, it's fixed in the final test.

  • Custom User Avatar
    • tonyxty
    • commented on "Left, left! Right, right! Comp! Symmetric! Q!E!D!" kata
    • 5 years ago

    I think the problem is still not fixed. You might want to import a definition of ≡ in the test code.

  • Custom User Avatar
    • andersk
    • created an issue for "Change detection decorator" kata
    • 5 years ago

    The random tests incorrectly expect it to be possible to delete a class attribute from an instance. On a normal Python class, this raises an AttributeError. Solutions that preserve this normal behavior should be accepted.

  • Custom User Avatar
    • andersk
    • commented on "Prime Streaming (NC-17)" javascript solution
    • 5 years ago

    Am I the only one who followed the directions and wrote an infinite stream (up to integer precision) rather than sieving to a predefined limit?

  • Custom User Avatar
    • Reizo
    • commented on "Areas of Voronoi cells" cpp solution
    • 6 years ago

    Someone explain this magic pls :o

  • Custom User Avatar
    • lwoo1999
    • resolved a suggestion on "Two paths in the forest" kata
    • 6 years ago

    Thank you for suggestion.
    Fixed

  • Custom User Avatar
    • andersk
    • created a suggestion for "Two paths in the forest" kata
    • 6 years ago

    Agda test cases should not open the solution; that can often be exploited to bring unexpected definitions into scope.

  • Custom User Avatar
    • mzedeler
    • commented on "Unique In Order" haskell solution
    • 6 years ago

    Can someone please explain this? (I'm mostly curious about the last line.)

  • Custom User Avatar
    • ice1000
    • resolved an issue on "Simply typed lambda calculus type checker" kata
    • 6 years ago

    Fixed

  • Custom User Avatar
    • andersk
    • created an issue for "Simply typed lambda calculus type checker" kata
    • 6 years ago

    Before I could start coding, I had to manually concatenate the preloaded snippets interspersed through the description and hunt down some missing imports. Please make the preloaded part directly copy+pasteable and/or uncommentable.

  • Custom User Avatar
    • solitude
    • resolved an issue on "Cardinality of N and N x N" kata
    • 6 years ago

    Thanks for the info. Changed the description and tests.

  • Custom User Avatar
    • andersk
    • created an issue for "Cardinality of N and N x N" kata
    • 6 years ago

    From Preloaded:

    -- Cartesian powers of ℕ. Zeroth power is nonsense.
    ℕ×ℕ^ : ℕ → Set
    ℕ×ℕ^ zero = ℕ
    ℕ×ℕ^ (suc n) = ℕ × ℕ×ℕ^ n
    

    The zeroth power is not nonsense; it serves as a base case in the natural definition

    ℕ^ : ℕ → Set
    ℕ^ zero = ⊤
    ℕ^ (suc n) = ℕ × ℕ^ n
    

    and falls out automatically from the other natural definition

    ℕ^ : ℕ → Set
    ℕ^ n = Fin n → ℕ
    

    Of course, task 2 would then need to change to ℕ ⇔ ℕ^ (suc n).

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...