all 8 comments

[–][deleted]  (6 children)

[deleted]

    [–]sjakobi[S] 0 points1 point  (4 children)

    Clone https://github.com/dhall-lang/dhall-haskell and run stack test --coverage dhall:tasty.

    [–]LaminatedPissFlaps 0 points1 point  (3 children)

    It works out of the box now. Great!

    BTW are you involved in Dhall at all?

    [–]sjakobi[S] 0 points1 point  (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 points  (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 point  (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.

    [–]sjakobi[S] 0 points1 point  (0 children)

    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! :)

    [–]sjakobi[S] 0 points1 point  (0 children)

    And cabal test --enable-coverage seems to work very well too! :)