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

osa1 / hslua / 72
92%

Build:
DEFAULT BRANCH: master
Ran 26 Mar 2017 07:18AM UTC
Jobs 1
Files 9
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
72

push

travis-ci

tarleb
Improve type safety via newtypes

Many lua functions take multiple integer as input, thereby obscuring the
purpose of each in the type signature. Newtype definitions for
`StackIndex`, `NumArgs`, and `NumResults` are used to improve type
safety of those functions while making function signatures cleaner and
easier to understand.  The new types are made instances of many useful
type classes, including `Num` and `Integral`.  The impact of this on old
code and usability should hence be very small, most programs will
continue to compile without changes.  However, new programs can be made
more type safe by using the new types instead of `Int`s.

383 of 527 relevant lines covered (72.68%)

1.42 hits per line

Jobs
ID Job ID Ran Files Coverage
7 72.7 (GHCVER=7.8.4 CABALVER=1.20 COVERAGE=true) 26 Mar 2017 07:18AM UTC 0
72.68
Travis Job 72.7
Source Files on build 72
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #72
  • 1aa9a7e0 on github
  • Prev Build on master (#69)
  • Next Build on master (#80)
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