exercism / ocaml

Exercism exercises in OCaml.
https://exercism.org/tracks/ocaml
MIT License
93 stars 50 forks source link

palindrome-products: Don't make users implement helpers for tests. #497

Closed georgyo closed 9 months ago

georgyo commented 9 months ago

The exercise is about creating about finding the largest and smallest palindromes, not about creating tedious equals and print functions. The .mli even states these as helper functions for running tests. Instead we should own those test functions ourselves.

This is somewhat related to #496 as I was going through to remove ppx_deriving I realized how painful creating these helper functions is and how unrelated it is to the actual problem.