inject-function: Lets you write regular monadic functions with the extra feature to be able to inject parameters that can be shared over function composition

[ control, gpl, library ] [ Propose Tags ]

An “inject function” is a regular monadic function (like a -> m b), but adds “injected parameters”. You can imagine such a function as an action taking parameters (the regular monadic function parameters) and vertical parameters. When you compose two compatible monadic functions (the regular way is through >=>), you can choose the types of the injected parameters so that, after some compositions, you have a total control of all the process.

Versions [faq],,,,
Dependencies base (==4.6.*) [details]
License GPL-3.0-only
Author DimitriSabadie
Category Control
Home page
Uploaded by DimitriSabadie at Thu Sep 12 18:35:19 UTC 2013
Distributions NixOS:
Downloads 2261 total (42 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Successful builds reported [all 7 reports]


  • Control
    • Control.InjFun


Maintainer's Corner

For package maintainers and hackage trustees