diff options
| author | Tom Smeding <tom@tomsmeding.com> | 2025-11-07 21:39:09 +0100 |
|---|---|---|
| committer | Tom Smeding <tom@tomsmeding.com> | 2025-11-07 21:39:09 +0100 |
| commit | 4ccf1996a5bd739dfb1e62fb3bfb189c04fb6d89 (patch) | |
| tree | 3f9cb86e846705c87f5539f2aecfdb2b00d76545 /chad-fast.cabal | |
| parent | 92bca235e3aaa287286b6af082d3fce585825a35 (diff) | |
Rewrite CPSy code as do-code using QualifiedDoqualified-contdo
Credits for this trick go to Leary on IRC:
https://ircbrowse.tomsmeding.com/browse/lchaskell?id=1691743#trid1691743
Advantage: all the binders are on the left-hand side.
Disadvantages:
- all continuations need to pass exactly one value, i.e. tuples are
required
- wacky shit
Diffstat (limited to 'chad-fast.cabal')
| -rw-r--r-- | chad-fast.cabal | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chad-fast.cabal b/chad-fast.cabal index df0409d..689ecc6 100644 --- a/chad-fast.cabal +++ b/chad-fast.cabal @@ -36,6 +36,7 @@ library CHAD.Types.ToTan Compile Compile.Exec + ContDo Data Data.VarMap Example.GMM |
