Begin a new Kumite
Search
About
  • Filter by Language:
  • Kumite (ko͞omiˌtā) is the practice of taking techniques learned from Kata and applying them through the act of freestyle sparring.

    You can create a new kumite by providing some initial code and optionally some test cases. From there other warriors can spar with you, by enhancing, refactoring and translating your code. There is no limit to how many warriors you can spar with.

    A great use for kumite is to begin an idea for a kata as one. You can collaborate with other code warriors until you have it right, then you can convert it to a kata.

Mathematics
Algorithms
Numbers
Code
Diff
  • cats :: [Integer]
    cats = 1 : [ c_n * 2 * (2 * n + 1) `div` (2 + n) |
                 (c_n, n) <- zip cats [0..] ]
    
    main = putStrLn $ show $ take 10 cats
  • 11
    cats :: [Integer]
    
    2
    cats = 1 : do
    
    3
      (c_n, n) <- zip cats [0..]
    
    4
      return $ c_n * 2 * (2 * n + 1) `div` (2 + n)
    
    5
      
    
    2+
    cats = 1 : [ c_n * 2 * (2 * n + 1) `div` (2 + n) |
    
    3+
                 (c_n, n) <- zip cats [0..] ]
    
    4+
    66
    main = putStrLn $ show $ take 10 cats
    

Recent Moves:

Code
Diff
  • #!/bin/bash          
    cat <<< "Hello Bash!"
  • 11
    #!/bin/bash          
    
    2
    STR="Hello Bash!"
    
    3
    echo $STR
    
    2+
    cat <<< "Hello Bash!"
    

Recent Moves:

(println "Hello Clojure!")
main = putStrLn "Hello Haskell!"