Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions exercises/octal/HINTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## 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.
11 changes: 0 additions & 11 deletions exercises/octal/test/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@ import qualified Numeric as Num (showOct)

import Octal (readOct, showOct)

{-
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.
-}

main :: IO ()
main = hspecWith defaultConfig {configFastFail = True} specs

Expand Down