Ad
  • Default User Avatar

    The reply from bebyx is helpful, but the solution which made my implementation pass is hacky and not something I would expect to see in the real world ever.

  • Custom User Avatar

    idk how that one slipped by

  • Default User Avatar

    .

  • Custom User Avatar

    Indeed, the names should be maximum' and minimum'.

    EDIT

    I also thought it's a kata bug at first, but there's actually a workaround for name ambiguousness built into the language. You can refer to the Haskell wiki.

    What I would add, however, is that this kata is most likely 7, not 8. Also, using the named workaround is definitely not a good practice in real world, which my first version of the comment points out.

  • Custom User Avatar

    Although there might be barrier among languages, they should not be compared against each other. This is basically the same case for solvers complaining about accessing C pointers and what not. Plus, ranks can't be changed