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

osa1 / hslua / 72 / 7
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 26 Mar 2017 07:18AM UTC
Files 9
Run time 0s
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

26 Mar 2017 07:01AM UTC coverage: 72.676% (+0.002%) from 72.674%
GHCVER=7.8.4 CABALVER=1.20 COVERAGE=true

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

Source Files on job 72.7 (GHCVER=7.8.4 CABALVER=1.20 COVERAGE=true)
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 72
  • Travis Job 72.7
  • 1aa9a7e0 on github
  • Prev Job for GHCVER=7.8.4 CABALVER=1.20 COVERAGE=true on master (#69.7)
  • Next Job for GHCVER=8.0.2 CABALVER=1.24 LUAVER=default COVERAGE=true on master (#80.1)
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