Ad
  • Custom User Avatar

    You can promote your translation on discord or leave it as a suggestion so that more ppl can come across it.

  • Custom User Avatar

    Add this test to the sample tests, your code fails with it:

    test(sample_test_6) :-
      likes(["Alex", "Jacob", "Mark", "Max", "Peter"], R), 
      assertion(R == "Alex, Jacob and 3 others like this").
    
  • Custom User Avatar

    You're right. This was one of the earliest translations, and I didn't know how to test for predicates passing/failing. This was the compromise I chose at the time :P The latest translations don't have this problem, but there's still a few out there that use this method.

    It's possible to rewrite it and make it right, but then all the existing solutions would fail, and I'm not sure if it's worth it.