Skip to content

hpc markup: Prelude.foldr1: empty list

While testing code coverage for my new package, I noticed this.

$ ghc-6.8.2 -fhpc --make tests.hs -o tests
$ ./tests 200
flatten flatten          : OK, passed 200 tests.
reshape flatten          : OK, passed 200 tests.
rank                     : OK, passed 200 tests.
shape size               : OK, passed 200 tests.
size                     : OK, passed 200 tests.
$ hpc markup tests --include carray
Writing: hpc_index.html
hpc: Prelude.foldr1: empty list
$ hpc version
hpc tools, version 0.6
$ hpc markup tests --include nonexistent
Writing: hpc_index.html
hpc: Prelude.foldr1: empty list
Trac metadata
Trac field Value
Version 6.8.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Profiling
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information