ghc-justdoit: A magic typeclass that just does it
This plugin allows you to write
{-# OPTIONS_GHC -fplugin GHC.JustDoIt.Plugin #-} module Test where import GHC.JustDoIt foo :: ((a -> r) -> r) -> (a -> ((b -> r) -> r)) -> ((b -> r) -> r) foo = (…)
without having to write the actual implementation of foo
.
See examples/Demo.hs for a few examples of what this plugin can do for you.
[Skip to Readme]
Downloads
- ghc-justdoit-0.1.0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1, 0.1.0.1, 0.1.0.2 |
---|---|
Change log | ChangeLog.md |
Dependencies | base (>=4.15 && <4.16), ghc (>=9.0), hashable [details] |
Tested with | ghc >=9.0 && <9.1 |
License | MIT |
Copyright | 2018 Joachim Breitner |
Author | Joachim Breitner |
Maintainer | mail@joachim-breitner.de |
Category | Language |
Home page | https://github.com/nomeata/ghc-justdoit |
Source repo | head: git clone git://github.com/nomeata/ghc-justdoit.git |
Uploaded | by JoachimBreitner at 2022-08-01T18:39:38Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 1319 total (4 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] All reported builds failed as of 2022-08-01 [all 2 reports] |