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

scotty-web / scotty / 246
57%

Build:
DEFAULT BRANCH: master
Ran 22 Aug 2017 06:32AM UTC
Jobs 4
Files 6
Run time 1min
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
246

Pull #181

travis-ci

web-flow
Make ScottyT a transformer again

We can have decoupled monads for ScottyT and ActionT if ScottyT is parametrised
by two monads. This breaks the API a lot because it changes the kind of ScottyT
but it allows for composable components.
With this change it is possible to write several "components" of type `ScottyT e
m n a` and bind them together. By a "component" I mean something that can do
its own setup and teardown in some custom monad stack (e.g. open db connection
in IO).
This is currently not possible since ScottyT is not a true transformer but fixed
over identity.
Pull Request #181: Make ScottyT a transformer again

190 of 330 relevant lines covered (57.58%)

4.25 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
./Web/Scotty/Route.hs
Jobs
ID Job ID Ran Files Coverage
1 246.1 (CABALVER=1.24 GHCVER=7.6.3) 22 Aug 2017 06:32AM UTC 0
57.93
Travis Job 246.1
2 246.2 (CABALVER=1.24 GHCVER=7.8.4) 22 Aug 2017 06:33AM UTC 0
57.58
Travis Job 246.2
3 246.3 (CABALVER=1.24 GHCVER=7.10.3) 22 Aug 2017 06:34AM UTC 0
57.58
Travis Job 246.3
4 246.4 (CABALVER=1.24 GHCVER=8.0.2) 22 Aug 2017 06:33AM UTC 0
57.58
Travis Job 246.4
Source Files on build 246
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #246
  • Pull Request #181
  • PR Base - master (#242)
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

© 2025 Coveralls, Inc