diff --git a/exercises/trinary/HINTS.md b/exercises/trinary/HINTS.md new file mode 100644 index 000000000..8361c3ede --- /dev/null +++ b/exercises/trinary/HINTS.md @@ -0,0 +1,12 @@ +## Hints + +For the appropriate amount of challenge here, you should only +use functionality present in Prelude. Try not to use Data.List, +Data.Char, Data.Bits, or Numeric. + +Try and use seq, $!, or BangPatterns appropriately to ensure +that the solution is efficient. + +Handling invalid input is not necessary. + +If you've done the Octal exercise, perhaps you should generalize it. diff --git a/exercises/trinary/test/Tests.hs b/exercises/trinary/test/Tests.hs index 18f48c6dc..856868be7 100644 --- a/exercises/trinary/test/Tests.hs +++ b/exercises/trinary/test/Tests.hs @@ -7,19 +7,6 @@ import qualified Numeric as Num (showIntAtBase) import Trinary (readTri, showTri) -{- -For the appropriate amount of challenge here, you should only -use functionality present in Prelude. Try not to use -Data.List, Data.Char, Data.Bits, or Numeric. - -Try and use seq, $!, or BangPatterns appropriately to ensure -that the solution is efficient. - -Handling invalid input is not necessary. - -If you've done the Octal exercise, perhaps you should generalize it. --} - main :: IO () main = hspecWith defaultConfig {configFastFail = True} specs