Ad
  • Custom User Avatar

    Which is pretty much what I did, though I used Haskell. But why do it that way to begin with? I just fail to see the reason for it!

  • Custom User Avatar

    Why hide away the Node type in a private module? It means one is forced to program in the browser rather than using one's favourite editor and local setup!

  • Custom User Avatar

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

  • Custom User Avatar

    I marked it as an issue since it's a question regarding behaviour that suggests it's an issue with the test ;)

    My original solution (not the one I submitted), does handle isValidWalk $ repeat 'n' just fine, but the test never returns.

  • Custom User Avatar

    Nice, but it doesn't work on quite a few languages of course.

  • Custom User Avatar

    I'm stuck on the code in Test.hs with infinate walks. That is, my solution handles this:

    isValidWalk (cycle "ns")
    

    but when running the provided test code the test never terminates. Is there something that's too strict in the test (so the infinate walk is evaluated)?

  • Custom User Avatar

    I'd like to run it locally.

    I work on my solutions in an external editor so I'd like to run the code locally, including the the tests offered.

  • Custom User Avatar

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