Ad
  • Custom User Avatar
    • Random tests added
    • Edge case tests
    • map -> fmap & id -> identity
  • Custom User Avatar

    All the issues should be resolved. Let me know if I missed anything.

  • Custom User Avatar

    I am removing **kwargs. While I would put it in a library to use in my own code, it makes the exercise more complicated than needed.

  • Custom User Avatar

    Python and Haskell are similar in this way. They both specializized map to lists, but it should be generic. Because of the similar history, I think using fmap would be fine here. I do want to keep map in this kata instead of using lift since seeing the connection to list's map is part of the point. I also thought about lift2, liftN, etc, but given Python's *args feature I thought it would be appropiate to just have liftN.