Commit Graph

263 Commits

Author SHA1 Message Date
Sandy Maguire
0ffd9b469d Add lazy state combinators 2019-04-01 19:38:40 -04:00
Sandy Maguire
b69bba9dd0 update readme 2019-03-21 10:27:48 -04:00
Sandy Maguire
f935fb495c main was annoying me 2019-03-21 10:27:12 -04:00
Sandy Maguire
5f70df79a5 add intercept combinator 2019-03-21 01:24:30 -04:00
Sandy Maguire
9dd70fa096 loopbreak nondet 2019-03-21 01:24:20 -04:00
Sandy Maguire
df7c9be46d nondet effect. thanks to @fused-effects! 2019-03-21 01:13:34 -04:00
Sandy Maguire
16bebea5a0 move runInputAsReader and Output/Writer 2019-03-21 00:37:53 -04:00
Sandy Maguire
ca67eb387d trace effect 2019-03-21 00:34:36 -04:00
Sandy Maguire
14841b2d7f inline random 2019-03-21 00:34:22 -04:00
Sandy Maguire
773a3aab8f random effect 2019-03-21 00:28:01 -04:00
Sandy Maguire
f6c930c9ce runOutputAsWriter 2019-03-21 00:08:38 -04:00
Sandy Maguire
ef8eedfc14 reify is stupid 2019-03-21 00:01:51 -04:00
Sandy Maguire
2387bd5c5c give an example of inlineRecursiveCalls 2019-03-20 23:56:29 -04:00
Sandy Maguire
40fd0e2de9 TH for breaking loops 2019-03-20 23:29:50 -04:00
Sandy Maguire
ecd1f5f5a2 raise and writer effect 2019-03-20 20:02:43 -04:00
Sandy Maguire
4b2d907c22 input > reader 2019-03-20 19:43:45 -04:00
Sandy Maguire
01d12fd058 output effect 2019-03-20 19:36:55 -04:00
Sandy Maguire
352c55ec62 make TH work with newtypes 2019-03-20 19:36:49 -04:00
Sandy Maguire
7315b44405 reader effect 2019-03-20 19:25:13 -04:00
Sandy Maguire
790237e8cd input effect 2019-03-20 19:14:05 -04:00
Sandy Maguire
1c63c1b4fc fix TH so it puts the tyvars in the right order 2019-03-20 14:34:36 -04:00
Sandy Maguire
b8fc7d8112 test for semantic to fuse away
also my TH has variables in the wrong order OOPS
2019-03-20 14:19:34 -04:00
Sandy Maguire
546cf16e1b use default pragmas 2019-03-20 09:53:22 -04:00
Sandy Maguire
9d6ee25732 some polysemy documentation 2019-03-20 02:37:37 -04:00
Sandy Maguire
23755bb3fb some haddock for unions 2019-03-20 02:33:17 -04:00
Sandy Maguire
7f418ac340 documentation for Effect.New 2019-03-20 02:13:30 -04:00
Sandy Maguire
8a6d515e99 new effect module 2019-03-20 01:44:23 -04:00
Sandy Maguire
f2ec5b7a03 rename package to polysemy 2019-03-20 00:46:26 -04:00
Sandy Maguire
e1061999a1 inline error actions 2019-03-20 00:39:13 -04:00
Sandy Maguire
c059127810 whoops 2019-03-20 00:38:04 -04:00
Sandy Maguire
06fa6037a0 add TH to derive effects 2019-03-20 00:28:14 -04:00
Sandy Maguire
0684ea3dc6 rename Poly -> Semantic 2019-03-20 00:28:01 -04:00
Sandy Maguire
5d7d957b9a -> polysemy 2019-03-19 23:42:18 -04:00
Sandy Maguire
8d6f8d6a6b dang good error messages 2019-03-19 22:20:50 -04:00
Sandy Maguire
80ab98692b fancy type errors 2019-03-19 13:52:29 -04:00
Sandy Maguire
de5405bc5e
Merge pull request #6 from isovector/higher-rank
Higher Rank Effects!
2019-03-19 00:10:44 -04:00
Sandy Maguire
26a761be67 dont forget to inline 2019-03-19 00:10:16 -04:00
Sandy Maguire
aef60dcee0 resource effect 2019-03-18 23:53:07 -04:00
Sandy Maguire
403708615b split up effects 2019-03-18 23:28:17 -04:00
Sandy Maguire
3bb46dc66d cleanup files 2019-03-18 23:16:52 -04:00
Sandy Maguire
2be94abfd1 tests 2019-03-18 23:04:21 -04:00
Sandy Maguire
14c1dbe39f fuse runState . reinterpret 2019-03-18 17:27:29 -04:00
Sandy Maguire
8faba4ae50 give a fast hoist whenever we can 2019-03-18 17:07:47 -04:00
Sandy Maguire
2e01410227 prjCoerce for reinterpret 2019-03-18 16:51:30 -04:00
Sandy Maguire
d26c490cdd reinterpret not as free as we'd like 2019-03-18 16:29:55 -04:00
Sandy Maguire
130a18ad6a it is so FAST 2019-03-18 15:50:19 -04:00
Sandy Maguire
0f041dbfd3 whoa. optimize away the pain 2019-03-18 14:20:24 -04:00
Sandy Maguire
730859a5f3 core-dump 2019-03-17 21:03:23 -04:00
Sandy Maguire
9df3f2c479 Merge branch 'typesafe-union' into higher-rank 2019-03-17 14:15:22 -04:00
Sandy Maguire
1e09b9e0ff inline everything 2019-03-17 14:13:43 -04:00