Torsten Schmits
96ef5f4e25
add -L
to nix test command for full output
2021-05-03 15:57:13 +02:00
Gabriel Gonzalez
0913e7c2e3
Add Semigroup
and Monoid
instances for Sem
( #412 )
...
* Add `Semigroup` and `Monoid` instances for `Sem`
* Use `@since TODO`
2021-04-24 06:48:21 +02:00
Torsten Schmits
cd094ed4b8
Merge pull request #409 from polysemy-research/trace-to-stdout
...
Add traceToStdout and traceToStderr, deprecating traceToIO
2021-04-09 20:38:37 +02:00
Torsten Schmits
39dcd29c3a
Add traceToStdout and traceToStderr, deprecating traceToIO
...
fixes #408
2021-04-09 20:08:14 +02:00
Georgi Lyubenov
43a67061fb
Merge pull request #407 from felixonmars/patch-1
...
Allow doctest 0.17 and 0.18
2021-03-31 18:19:52 +03:00
Felix Yan
dbcf851eb6
Allow doctest 0.17 and 0.18
...
Builds fine and all tests pass.
2021-03-31 21:10:43 +08:00
Torsten Schmits
04642d090b
release 1.5.0.0/0.3.0.0
2021-03-30 19:51:37 +02:00
Torsten Schmits
6cafe928d8
add missing export for InterpretersFor
2021-03-27 16:04:15 +01:00
Torsten Schmits
bfe14bd4c9
update polysemy-plugin.cabal
2021-03-27 16:04:06 +01:00
Georgi Lyubenov
ef154f996a
Update repo in package.yaml
...
It's no longer hosted at isovectors account.
2021-03-21 01:27:04 +02:00
TheMatten
dc16f081f4
Drop support for GHC 8.4.*, update and fix dependencies ( #405 )
...
* Drop support for GHC 8.4.*, update and fix dependencies
* Remove 8.4.4 from CI
* Remove references to loopbreaker
2021-03-20 22:46:57 +01:00
Torsten Schmits
2dfcd30ad6
GA-build all branches and PRs
2021-03-14 11:15:13 +01:00
Torsten Schmits
0f254af207
Merge pull request #400 from polysemy-research/nix-build
...
add basic nix build
2021-03-14 10:58:05 +01:00
Torsten Schmits
b8b912afae
add basic nix build
2021-03-14 10:44:57 +01:00
KingoftheHomeless
c37d485b61
Temporarily remove dedication (see #402 )
2021-02-04 21:59:32 +01:00
KingoftheHomeless
478c86e080
Simple variants of runT and bindT ( #393 )
...
* Simple variants of runT and bindT
* Fix accidental removal of INLINE on reinterpretH
* Rename bindTH and runTH to -Simple instead. Improve docs on these.
* Update changelog and add @since TODOs
2020-11-18 20:46:14 +01:00
Torsten Schmits
175ccc840b
Merge pull request #383 from tek/interpreters-for
...
add InterpretersFor
2020-11-16 17:02:06 +01:00
Torsten Schmits
5128295c8c
add InterpretersFor
2020-11-16 17:01:15 +01:00
TheMatten
ade8826e1c
Update polysemy-plugin.cabal
2020-11-01 17:15:40 +01:00
TheMatten
146c177de7
Release plugin 0.2.5.2 ( #388 )
2020-11-01 14:08:07 +01:00
TheMatten
48be9cae1f
Release 1.4.0.0 ( #387 )
2020-10-31 22:47:25 +01:00
Georgi Lyubenov
3399de172b
Merge pull request #382 from polysemy-research/remove-extra-phases
...
Remove optimization phases, update `package.yaml`-s
2020-10-23 15:48:08 +03:00
TheMatten
146ea88d11
Add Paths_* to generated-other-modules
2020-10-23 11:00:23 +02:00
TheMatten
5f14cd051d
Remove optimization phases, update package.yaml-s
2020-10-23 09:56:15 +02:00
Georgi Lyubenov
6b660eaadc
Merge pull request #381 from felixonmars/patch-1
...
Allow th-abstraction 0.4
2020-10-17 11:36:56 +03:00
Felix Yan
125cc5ec26
Allow th-abstraction 0.4
...
Builds fine and all tests pass here.
2020-10-17 06:53:17 +08:00
galagora
62f5af5d03
polysemy-plugin v0.2.5.1 ( #377 )
2020-09-15 09:21:05 +02:00
Torsten Schmits
766bc047fd
correct two switched INLINE pragmas ( #375 )
2020-09-08 15:00:42 +02:00
Georgi Lyubenov
575f8f62e2
Merge pull request #376 from tek/update-github-org
...
update github org
2020-09-08 15:44:01 +03:00
Torsten Schmits
89a664d8fe
update github org
2020-09-08 14:18:38 +02:00
Daniel Goertzen
de19721ef5
add Applicative methods ( #372 )
...
* add Applicative methods
- add Applicative `liftA2`, `(<*)`, and `(*>)`
- resolves https://github.com/polysemy-research/polysemy/issues/368
* remove redundant Monad return definition
- As directed in review of https://github.com/polysemy-research/polysemy/pull/372
2020-07-31 07:15:44 +02:00
Jeremy Schlatter
235813da00
Small code simplifications ( #360 )
...
* Small code simplifications
These are all replacements of the form
before: fmap f $ x
after: f <$> x
Minor change, but feels marginally easier to read to me.
Co-authored-by: TheMatten <matten@tuta.io>
2020-07-29 17:20:11 +02:00
Georgi Lyubenov
e99cb94305
Merge pull request #348 from polysemy-research/lts161_fix_warnings
...
Fix warnings from upgrading to ghc 8.8.3
2020-07-29 18:08:47 +03:00
Georgi Lyubenov
013bf97f77
Ifdef away warnings that only occur on ghc>=8.8
2020-07-29 17:49:54 +03:00
Georgi Lyubenov
28246caa6c
Fix warnings from upgrading to ghc 8.8.3
2020-07-29 17:49:24 +03:00
TheMatten
a5d0500064
Add 'Raise' and 'Subsume' ( #370 )
...
Add 'Raise' and 'Subsume'
2020-07-29 16:19:37 +02:00
Georgi Lyubenov
b9c551f8d0
Merge pull request #369 from tek/raise2Under
...
Add raise2Under and raise3Under
These combinators are like raiseUnder, but place the new effect at the
second and third position in the list.
This is for interpreters that consume two effects, delegating to two other interpreters, who share a dependency which is then interpreted by the outer interpreter.
See https://github.com/polysemy-research/polysemy/pull/369
2020-07-28 21:33:06 +03:00
Torsten Schmits
c2da2f5cb8
raise2Under and raise3Under
...
These combinators are like raiseUnder, but place the new effect at the
second and third position in the list.
2020-07-28 17:55:23 +02:00
TheMatten
ce0fa3d19e
Update README ( #364 )
...
Update README
2020-07-22 09:04:01 +02:00
Georgi Lyubenov
8b80661f5d
Merge pull request #357 from jeremyschlatter/patch-1
...
Fix typo
2020-06-27 16:29:22 +03:00
Jeremy Schlatter
a8c6681ace
Fix typo
2020-06-26 18:08:48 -07:00
Georgi Lyubenov
0082a8e854
Merge pull request #346 from A1kmm/tcplugins-0.4
...
Support newer ghc-tcplugins-extra in latest stackage LTS
2020-06-18 20:36:00 +03:00
Andrew Miller
64f63c7739
Support newer ghc-tcplugins-extra in latest stackage LTS
2020-06-18 22:30:42 +10:00
Georgi Lyubenov
ccb9116429
Add #304/#333 to unreleased changelog
2020-06-17 18:04:06 +03:00
Andrew Miller
a09b3a7750
Make interpretH and friends expose Monad on existential m ( #333 )
...
* Make interpretH and friends expose Monad on existential m
In the process replace the existentially quantified parameter `m` of the
Weaving with a parameter `r` and use `Sem r`.
* Remove unnecessary datatype context
* Rename some type variables that were confusing
* Expose Sem rInitial to function parameters to combinators and Final
* Remove UnionDetails layer
* Remove WeavingDetails
* Fix build on ghc 8.4.4
* Clean up for consistency and formatting
Co-authored-by: Andrew Miller <andrew@amxl.com>
2020-06-17 16:35:19 +02:00
Georgi Lyubenov
ab362369dc
Fix wrong date in polysemy-plugin changelog
...
Fixes #344
2020-06-15 07:49:45 +03:00
Georgi Lyubenov
4c8e7633eb
Prefer const to pure
2020-06-15 07:48:27 +03:00
Georgi Lyubenov
d13a1cb4b9
Add bracket_ to unreleased changes
2020-06-15 07:48:13 +03:00
Georgi Lyubenov
d4b8e0850b
Merge pull request #335 from expipiplus1/joe-bracket_
...
Add bracket_ to Polysemy.Resource
2020-06-15 07:46:51 +03:00
Georgi Lyubenov
c1ae34d2ce
Merge pull request #343 from polysemy-research/unreleased-changes
...
Move unreleased changes to a more visible place
2020-06-15 07:37:55 +03:00