Andrzej Rybczak
2ec4a629a4
Update CI
2021-09-25 12:06:41 +02:00
Andrzej Rybczak
32aad5570b
Adjust package descriptions
2021-09-25 09:04:24 +02:00
Andrzej Rybczak
8dc4d18f8e
Simplify unsafeWithLiftMapIO
2021-09-25 08:24:16 +02:00
Andrzej Rybczak
7527aa4440
Remove AllowAmbiguousTypes from Effectful.Internal.Env
2021-08-13 17:20:38 +02:00
Andrzej Rybczak
2e43b3d8bb
Update links to documentation
2021-08-10 18:30:38 +02:00
Andrzej Rybczak
6b1fb9ca5c
Add Effectful.Temporary
2021-08-01 19:25:40 +02:00
Andrzej Rybczak
e7f5564e96
Re-export Effectful.Prim in effectful
2021-08-01 19:01:37 +02:00
Andrzej Rybczak
d896fcbaa3
Don't re-export internal modules from effectful
2021-08-01 19:01:34 +02:00
Andrzej Rybczak
f267f234ea
Make the Fail effect interpreted
2021-08-01 16:34:36 +02:00
Andrzej Rybczak
2496ef3dd9
Fix CI
2021-07-31 20:13:23 +02:00
Andrzej Rybczak
4137f878db
Add a logo
2021-07-31 20:04:31 +02:00
Andrzej Rybczak
8f37f3f79e
Less unsafe functions, document unsafeness
2021-07-31 20:04:31 +02:00
Andrzej Rybczak
a9516ac93d
Documentation
2021-07-31 20:04:31 +02:00
Andrzej Rybczak
115aa0a486
Re-export MonadIO and MonadUnliftIO
2021-07-31 20:04:31 +02:00
Mann mit Hut
f3c7e00cbb
Added Process effect ( #25 )
...
* Added Process effect based on process package
* Fixed Haddock: typed-process -> process
2021-07-29 16:50:33 +02:00
Andrzej Rybczak
3b5a7c0337
Make unsafeTailEnv return nothing
2021-07-29 02:04:44 +02:00
Andrzej Rybczak
f68ee23532
Turn off StrictData and make fields lazy where appropriate
2021-07-29 00:09:56 +02:00
Andrzej Rybczak
bd280b40ad
Bump versions to 0.1
2021-07-28 23:19:11 +02:00
Andrzej Rybczak
dcba309d0f
Write signatures down without the HasCallStack constraint
2021-07-28 21:05:57 +02:00
Andrzej Rybczak
a0f47ae558
Make runHandler work in Eff
2021-07-27 20:31:02 +02:00
Andrzej Rybczak
a7bc404998
Add the EffectHandler type synonym
2021-07-27 19:36:17 +02:00
Andrzej Rybczak
03663205ea
Rename EnvRefCache to EnvRefStore
2021-07-27 14:31:56 +02:00
Andrzej Rybczak
30a2855842
Add low level InternalState API to Effectful.Resource
2021-07-26 20:15:07 +02:00
Andrzej Rybczak
50cdcbf9e0
Add Effectful.Prim
2021-07-26 17:04:05 +02:00
Andrzej Rybczak
04f427d5ff
Clarify note for unsafeConsEnv
2021-07-26 15:59:31 +02:00
Andrzej Rybczak
c851bda0bd
unsafe{Put,State,Modify}Env are safe
2021-07-26 15:35:17 +02:00
Andrzej Rybczak
96b2bb3498
Better GADT signatures
2021-07-26 15:13:50 +02:00
Andrzej Rybczak
5cb1e35a89
Adjust order of arguments in Env functions and remove readerEffectM
2021-07-26 15:08:23 +02:00
Mann mit Hut
f0bf1e49db
Split effectful package ( #27 )
...
* Moved effectful library to a subdirectory
* Initial commit of the effectful-core library
* Removed tests/benchmarks/examples from effectful-core package
* Removed READMEs from packages
* Updated CI
* Refactored doctest script
This is a bit closer to the CI setup.
* Adjusted dependencies
* Updated README
* Updated the package descriptions
* Added examples to test suite
2021-07-25 15:18:35 +02:00
Andrzej Rybczak
d4eb837a2d
Fix doctest
2021-07-25 12:22:29 +02:00
Andrzej Rybczak
c25e672d6f
Merge (re)interpret and (re)interpretM
...
Fixes #26 .
2021-07-25 12:17:38 +02:00
Andrzej Rybczak
f4a8defee9
Simplify type signatures of (re)interpret
2021-07-16 21:23:55 +02:00
Andrzej Rybczak
7e72f9d2f1
Small documentation adjustments
2021-07-16 18:24:59 +02:00
Andrzej Rybczak
99bdb5c468
Allow polysemy with GHC 9.0
2021-07-16 18:03:30 +02:00
Andrzej Rybczak
dce85587c1
Use undefinedData instead of repeating error "undefined field"
2021-07-16 17:40:59 +02:00
Andrzej Rybczak
727ddbb12a
Replace link to hackage with current documentation for now
2021-07-16 14:09:53 +02:00
Andrzej Rybczak
ace82eddc7
Add withEffToIO
2021-07-15 17:59:22 +02:00
Andrzej Rybczak
85015a4a08
Adjustments to Error effect
...
Prelude for runError2, runError3 etc.
2021-07-15 17:59:18 +02:00
Andrzej Rybczak
b6441e1a9b
Remove stm dependency
2021-07-15 17:02:12 +02:00
Andrzej Rybczak
408bd829ae
Accurate argument name
2021-07-14 15:41:33 +02:00
Andrzej Rybczak
f9bc460236
Add HasCallStack to (un)lifting functions
...
Now if an unlifting function fails due to insufficient limit, you'll get a nice
call stack that allows to track the origin of the problem easily.
2021-07-14 15:20:26 +02:00
Andrzej Rybczak
69350a46e4
Expose constructors of dynamic Reader
2021-07-14 13:48:43 +02:00
Andrzej Rybczak
f91bfc0686
Fix criterion imports
2021-07-13 14:57:23 +02:00
Andrzej Rybczak
c7831ff268
Add a dynamic version of Reader
2021-07-13 13:40:10 +02:00
Andrzej Rybczak
8cd8c32f49
Add HasCallStack to operations and re-export utils from GHC.Stack
2021-07-13 13:40:07 +02:00
Andrzej Rybczak
1b8a56b34b
Fix the FileSystem example
2021-07-13 13:27:50 +02:00
Andrzej Rybczak
5ec68161ed
Rename run to unlift
2021-07-13 03:13:38 +02:00
Andrzej Rybczak
7c55fe0c8f
Remove INLINABLE pragmas from catch and genericBracket
2021-07-12 23:41:41 +02:00
Andrzej Rybczak
3f78b20c8d
Add a dynamic version of Error
2021-07-12 20:51:40 +02:00
Andrzej Rybczak
cee28d5c51
Rename Pure/MVar to Local/Shared
2021-07-12 20:11:12 +02:00