running tests
Running 2 test suites...
Test suite slist-doctest: RUNNING...
src/Slist.hs:386: failure in expression `head mempty'
expected: *** Exception: Prelude.head: empty list
but got: *** Exception: Prelude.head: empty list
CallStack (from HasCallStack):
^
error, called at libraries/base/GHC/List.hs:1646:3 in base:GHC.List
errorEmptyList, called at libraries/base/GHC/List.hs:85:11 in base:GHC.List
badHead, called at libraries/base/GHC/List.hs:81:28 in base:GHC.List
head, called at src/Slist.hs:391:8 in main:Slist
src/Slist.hs:416: failure in expression `last mempty'
expected: *** Exception: Prelude.last: empty list
but got: *** Exception: Prelude.last: empty list
CallStack (from HasCallStack):
^
error, called at libraries/base/GHC/List.hs:1646:3 in base:GHC.List
errorEmptyList, called at libraries/base/GHC/List.hs:156:13 in base:GHC.List
lastError, called at libraries/base/GHC/List.hs:151:29 in base:GHC.List
last, called at src/Slist.hs:425:8 in main:Slist
src/Slist.hs:1477: failure in expression `unsafeAt (-1) sl'
expected: *** Exception: Prelude.!!: negative index
but got: *** Exception: Prelude.!!: negative index
CallStack (from HasCallStack):
^
error, called at libraries/base/GHC/List.hs:1371:12 in base:GHC.List
negIndex, called at libraries/base/GHC/List.hs:1375:17 in base:GHC.List
!!, called at src/Slist.hs:1485:30 in main:Slist
Examples: 227 Tried: 225 Errors: 0 Failures: 3
Not sure what it's all about but here it is:
Thanks