• 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
naldoco Avatar
Name:Reynaldo Cordero
Clan:HaskellMad
Member Since:Dec 2017
Last Seen:Jun 2025
Profiles:
Following:7
Followers:3
Allies:3
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (37)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Polymorbism
    • commented on "Find all occurrences of an element in an array" haskell solution
    • 15 months ago

    Thanks for teaching me about this function!

  • Custom User Avatar
    • ejini战神
    • resolved an issue on "If you can't sleep, just count sheep!!" kata
    • 4 years ago

    fixed

  • Custom User Avatar
    • ejini战神
    • resolved a suggestion on "Roman Numerals Decoder" kata
    • 4 years ago

    Already raised as issue

  • Custom User Avatar
    • KenKamau
    • resolved an issue on "Simple string characters" kata
    • 5 years ago

    Nice catch! Fixed.

  • Custom User Avatar
    • naldoco
    • created an issue for "Simple string characters" kata
    • 5 years ago

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

  • Custom User Avatar
    • naldoco
    • commented on "Roman Numerals Decoder" haskell solution
    • 5 years ago

    λ: solution "CDLXI" -- must be: 461
    661

  • Custom User Avatar
    • naldoco
    • commented on "Roman Numerals Decoder" haskell solution
    • 5 years ago

    λ: solution "MMMCMXV" -- should be 3915
    4115

  • Custom User Avatar
    • naldoco
    • commented on "Roman Numerals Decoder" haskell solution
    • 5 years ago

    λ: solution "MMMCMXV" -- should be 3915
    4115

  • Custom User Avatar
    • naldoco
    • commented on "Roman Numerals Decoder" haskell solution
    • 5 years ago

    λ: solution "MMMCMXXIX" -- should be 3929
    4131

  • Custom User Avatar
    • naldoco
    • commented on "Roman Numerals Decoder" haskell solution
    • 5 years ago

    λ: solution "MCXLI" -- should be 1141
    1161

  • Custom User Avatar
    • naldoco
    • commented on "Roman Numerals Decoder" haskell solution
    • 5 years ago

    λ: solution "MCXLI" -- should be 1141
    1161

  • Custom User Avatar
    • naldoco
    • commented on "Roman Numerals Decoder" haskell solution
    • 5 years ago

    FYI: Tests are incomplete, sorry. Your code is not OK.

    λ: solution "CMVIII"    -- must be 908
    1108
    λ: solution "XIV"       -- must be 14
    16
    
  • Custom User Avatar
    • naldoco
    • created a suggestion for "Roman Numerals Decoder" kata
    • 5 years ago

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

  • Custom User Avatar
    • naldoco
    • commented on "Roman Numerals Decoder" haskell solution
    • 5 years ago

    Hi! FYI: Your solution function pass fawlty tests, but it's wrong.

    λ: solution "MCCXXXIV"   -- It must be 1234
    1236
    λ: solution "MMMCCXLI"   -- It must be 3241
    3261
    
  • Custom User Avatar
    • naldoco
    • created an issue for "Roman Numerals Decoder" kata
    • 5 years ago

    HASKELL:

    In order to prevent people faking a solution by writing a tricky Num instance, proposed tests must change.
    This modified specs will do the thing:

    spec :: Spec
    spec =
      describe "solution" $ do
        it "testing 'XXI'"     $ (solution "XXI")     `shouldBe` ( 21 :: Integral a => a )
        it "testing 'I'"       $ (solution "I")       `shouldBe` 1
        it "testing 'IV'"      $ (solution "IV")      `shouldBe` 4
        it "testing 'MMVIII'"  $ (solution "MMVIII")  `shouldBe` 2008
        it "testing 'MDCLXVI'" $ (solution "MDCLXVI") `shouldBe` 1666
    

    Current tests are:

    spec :: Spec
    spec =
      describe "solution" $ do
        it "testing 'XXI'"     $ (solution "XXI")     `shouldBe` 21
        it "testing 'I'"       $ (solution "I")       `shouldBe` 1
        it "testing 'IV'"      $ (solution "IV")      `shouldBe` 4
        it "testing 'MMVIII'"  $ (solution "MMVIII")  `shouldBe` 2008
        it "testing 'MDCLXVI'" $ (solution "MDCLXVI") `shouldBe` 1666
    
  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...