• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jbearer / hspl / 73
83%
master: 84%

Build:
Build:
LAST BUILD BRANCH: debug-ui
DEFAULT BRANCH: master
Ran 09 Jun 2017 03:57AM UTC
Jobs 1
Files 7
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
73

push

travis-ci

jbearer
Add a default 'toTerm' instance for ADTs.

Uses GHC.Generics to construct a generic implementation of 'toTerm'
for algebraic data types. Because all types that we may want to put
in a term now have a 'toTerm', 'Termable' (the class of 'toTerm') is
a super class of 'TermEntry'. This required some shuffling around of
the Term-related classes. We can't have TermData => TermEntry and vice
versa, so we have a new class Termable containing the method toTerm,
and a class TermData which is a subclass of 'Termable a' and
'TermEntry (HSPLType a)'. For the purposes of writing constraints in
type annotations, 'TermData' is roughly equivalent to the old version.
Now, users can provide instances of Termable (not TermData) to use
ADTs with HSPL.

517 of 656 relevant lines covered (78.81%)

0.79 hits per line

Jobs
ID Job ID Ran Files Coverage
4 73.4 (BUILD=stack ARGS="" TESTARGS="--coverage --haddock") 09 Jun 2017 03:57AM UTC 0
78.81
Travis Job 73.4
Source Files on build 73
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #73
  • f091f30c on github
  • Prev Build on core (#72)
  • Next Build on core (#74)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc