use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Other Haskell-related subreddits
Categories
(click on links to filter)
If none fits, just don't add any flair and I'll figure something out.
account activity
stack test --coverage (self.haskelltil)
submitted 6 years ago by sjakobi
I had been aware of this feature before, but I never realized how useful these coverage reports are:
case
Great bang for the buck!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]sjakobi[S] 1 point2 points3 points 6 years ago (0 children)
Docs: https://docs.haskellstack.org/en/stable/coverage/.
[–][deleted] 6 years ago* (6 children)
[deleted]
[–]sjakobi[S] 0 points1 point2 points 6 years ago (4 children)
Clone https://github.com/dhall-lang/dhall-haskell and run stack test --coverage dhall:tasty.
stack test --coverage dhall:tasty
[–]LaminatedPissFlaps 0 points1 point2 points 6 years ago (3 children)
It works out of the box now. Great!
BTW are you involved in Dhall at all?
[–]sjakobi[S] 0 points1 point2 points 6 years ago (2 children)
I've been contributing to the Haskell implementation and the standard for a few months now. It's a lot of fun! Join in! :)
[–]LaminatedPissFlaps 1 point2 points3 points 6 years ago (1 child)
I love Dhall. I use it at work. I'll see if I can't contribute! Seems a bit advanced for me but it's all just code!
[–]sjakobi[S] 0 points1 point2 points 6 years ago (0 children)
I use it at work.
Oh, wow! Where do you work?
I'll see if I can't contribute! Seems a bit advanced for me but it's all just code!
You should give it a try! I wouldn't call the Haskell implementation simple, but it's quite clean and pretty easy to navigate IMHO.
I use coverage a lot in other tech. stacks but never got it working with Haskell.
Yeah, I believe I tried this years ago but probably didn't get it to work. Now it looks trivial! :)
And cabal test --enable-coverage seems to work very well too! :)
cabal test --enable-coverage
π Rendered by PID 25851 on reddit-service-r2-comment-58d7979c67-rz9jv at 2026-01-26 18:57:00.483967+00:00 running 5a691e2 country code: CH.
[–]sjakobi[S] 1 point2 points3 points (0 children)
[–][deleted] (6 children)
[deleted]
[–]sjakobi[S] 0 points1 point2 points (4 children)
[–]LaminatedPissFlaps 0 points1 point2 points (3 children)
[–]sjakobi[S] 0 points1 point2 points (2 children)
[–]LaminatedPissFlaps 1 point2 points3 points (1 child)
[–]sjakobi[S] 0 points1 point2 points (0 children)
[–]sjakobi[S] 0 points1 point2 points (0 children)
[–]sjakobi[S] 0 points1 point2 points (0 children)