Commit Graph

538 Commits

Author SHA1 Message Date
Torsten Schmits
def5cc2204 changelog 2021-11-22 23:34:31 +01:00
Sandy Maguire
27190a4075 Fix plugin regression 2021-11-22 23:27:40 +01:00
Torsten Schmits
e9e791c4f3 add test case 2021-11-22 23:27:40 +01:00
Sandy Maguire
039930a4b3 Release polysemy-v1.7.0.0 and polysemy-plugin-v0.4.2.0 2021-11-16 15:17:37 -08:00
Sandy Maguire
55150644c4
Remove custom type errors from Member (#429)
* Remove Member type errors

* Remove unused custom type errors

* Deprecate MemberWithError

* Remove readme notes about type errors

* Remove MemberWithError
2021-11-16 15:01:45 -08:00
Sandy Maguire
ac431a17b4
Implement ElemOf as an integer tag (#428)
* Unsafe ElemOf proof

* Cleanup formatting
2021-11-16 14:49:13 -08:00
Sandy Maguire
ae577cc640 Release polysemy-plugin v0.4.1.0 2021-10-22 18:55:01 -04:00
Sandy Maguire
97b200e43d Cleanup -Wall and add context to bogus type family error 2021-10-22 18:38:44 -04:00
Sandy Maguire
c0cf61ea1f
Plugin: Solve ambiguous types based on instances in scope (#424)
* Properly track skolems for plugin unification

* Cleanup imports

* Add test

* Stuff can now reference different packages

* Tools for looking up instances

* Add extra evidence

* Solve AmbiguousSpec :)

* Check givens for extra evidence

* Use StateT to cache instance lookups

* Remove numClass from Stuff

* Documentation

* Fix AmbiguousSpec

* Don't need deriving strategies anymore

* GHC9 imports

* Polymorphic and MTPC tests
2021-10-22 15:29:29 -07:00
Sandy Maguire
f30da0c178
Properly track skolems for plugin unification (#423)
* Properly track skolems for plugin unification

* Update haddock

* Cleanup imports

* Guard the import of unify
2021-10-20 16:16:48 -07:00
Torsten Schmits
1a05feb172 Add interpreters for AtomicState that run in terms of State 2021-09-26 15:59:34 +02:00
Steve Mao
21fcd8a849 add missing language extension 2021-08-05 13:40:42 +02:00
Torsten Schmits
2ddc66bc78 release 1.6.0.0 2021-07-12 13:33:42 +02:00
Georgi Lyubenov
19acda0450
Merge pull request #414 from polysemy-research/tek/remove-type-errors-pretty
Remove type-errors-pretty to speed up release for 901
2021-07-12 10:24:59 +03:00
Torsten Schmits
7a2ddc22f4 remove type-errors-pretty to speed up release for 901 2021-07-10 22:51:09 +02:00
Torsten Schmits
6e2630fafd Add insertAt
A combinator that allows adding effects at a specified index into the
effect stack
2021-07-08 17:43:52 +02:00
Torsten Schmits
e25d1207d1 fix doctests on 9.0.1
Error messages changed, adapted to match both variants
2021-06-25 19:51:34 +02:00
Torsten Schmits
2d0f936926 update gh org in hackage description 2021-06-25 19:26:27 +02:00
Torsten Schmits
09c65bdae9 add changelog entry for GHC 9 support 2021-05-03 16:56:41 +02:00
Torsten Schmits
95c534bb10
start migration to ghc9 (#410)
* start migration to ghc9

* add ghc9 support for polysemy-plugin

* bump doctest version in package.yaml

* fix doctest message containing incorrect spaces

Co-authored-by: funketh <theodor.k.funke@gmail.com>
2021-05-03 16:45:18 +02:00
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