1
1
mirror of https://github.com/coot/free-category.git synced 2024-09-11 14:17:30 +03:00
Commit Graph

155 Commits

Author SHA1 Message Date
Manuel Bärenz
f6eb1fae64
Add runEffCat (#33)
Co-authored-by: Manuel Bärenz <m.baerenz@sonnen.de>
Co-authored-by: Marcin Szamotulski <profunctor@pm.me>
2020-10-19 20:11:52 +02:00
Manuel Bärenz
b4a67b3489 Fix typos 2020-10-19 18:40:05 +02:00
Gabor Greif
963b3f1221 Tweaks 2020-10-19 18:39:42 +02:00
Gabor Greif
afb22286df Fix Edwin's name 2020-10-19 18:39:42 +02:00
Marcin Szamotulski
29bcbf60f2 Removed stale shell.nix file 2020-10-18 17:07:13 +02:00
Marcin Szamotulski
1727d4be8c Updated nix & cabal files 2020-10-18 17:07:13 +02:00
Marcin Szamotulski
a3d4ce4bcc Make tests compile with ghc-8.10.2 2020-10-18 17:07:13 +02:00
Marcin Szamotulski
f82a7e7ce1 Use github-actions
Also removed circle ci configuration.
2020-10-18 17:07:13 +02:00
Marcin Szamotulski
ecb5df2a82 Updated nix & cabal file 2020-10-18 17:07:13 +02:00
Marcin Szamotulski
9c218a1d47
git-ignore: ignore .hie directories 2020-07-26 11:30:56 +02:00
Marcin Szamotulski
2a0f1603fe
Updated cabal files and ChangeLog.md file 2020-07-22 19:27:12 +02:00
Marcin Szamotulski
e646191f3c Fixed ghc-8.10.1 errors 2020-07-22 19:16:43 +02:00
Marcin Szamotulski
1ad08548dd Use haskell.nix
Only compile with ghc: 8.10.1, 8.8.3 and 8.6.5; drop older versions.
2020-07-22 19:16:43 +02:00
Marcin Szamotulski
611af1ae70 Bump version 2020-07-22 19:16:43 +02:00
Marcin Szamotulski
8bb348971c Updated package description 2020-07-22 19:16:43 +02:00
Marcin Szamotulski
bdcf139459
Updated package description 2019-12-06 12:43:40 +01:00
Marcin Szamotulski
82b7db1a53
cabal: added stability field 2019-12-06 10:58:09 +01:00
Marcin Szamotulski
c0b464c0cb
Removed accidental files 2019-12-05 14:25:15 +01:00
Marcin Szamotulski
1509aa5734
Updated cabal file 2019-12-05 02:23:32 +01:00
Marcin Szamotulski
c7aed8196b Updated nixpkgs hash 2019-12-05 02:20:14 +01:00
Marcin Szamotulski
45ed86cb3b Fixed typos in README.md 2019-12-05 02:20:14 +01:00
Marcin Szamotulski
385c6511aa Added release.nix file 2019-12-05 02:20:14 +01:00
Marcin Szamotulski
c5d626e3a5 Removed Cat type
It's not performing as good as 'Queue' or 'ListTr'.
2019-12-05 02:20:14 +01:00
Marcin Szamotulski
8501043e10 Updated README file 2019-12-05 02:20:14 +01:00
Marcin Szamotulski
a87f3afe0e Updated benchmarks 2019-12-05 02:20:14 +01:00
Marcin Szamotulski
da9d9a2018 Updated nixpkgs.nix 2019-12-05 02:20:14 +01:00
Marcin Szamotulski
bf1ef54b3c Unused imports in tests 2019-12-05 02:20:14 +01:00
Marcin Szamotulski
6e82ad08ca Updated nix/free-algebras.nix 2019-12-05 02:20:14 +01:00
Marcin Szamotulski
f5d21153a0 Updated ChangeLog 2019-12-05 02:20:14 +01:00
Marcin Szamotulski
ce0510c372 Added foldrL, foldrL and zipWithL
This matches the api of Queue.
2019-12-05 02:20:14 +01:00
Marcin Szamotulski
ddd4701811 Export ListTr 2019-12-05 02:20:14 +01:00
Marcin Szamotulski
daa4113228 Use free-algebras 0.0.8.0 2019-12-05 02:20:14 +01:00
Marcin Szamotulski
15f8c5b0dd Build with ghc881 2019-10-06 19:25:09 +01:00
Marcin Szamotulski
3c599fef5f Switched to nixorg/nix:circleci docker image 2019-10-06 19:25:09 +01:00
Marcin Szamotulski
e448412f75 CI use nixpkgs-unstable channel 2019-10-06 13:11:45 +01:00
Marcin Szamotulski
4fdb07f48e nix: use -Wno-inline-rule-shadowing in ghc802 2019-10-06 13:11:45 +01:00
Marcin Szamotulski
b929077597 Include more benchmarks
When length of morphisms increases the 'Queue' type shows its strengths.
2019-10-06 13:11:45 +01:00
Marcin Szamotulski
d7f4b32e54 Export more functions 2019-10-06 13:11:45 +01:00
Marcin Szamotulski
5ef73f172e Added foldNatL/NilTr rewrite rule 2019-10-06 13:11:45 +01:00
Marcin Szamotulski
13bc4de0dc Added README 2019-09-29 20:46:19 +01:00
Marcin Szamotulski
6702b0974d Modify example
Simplify types, but use 'KleisliS' newtype wrapper.
2019-09-29 20:46:19 +01:00
Marcin Szamotulski
8678e87081 Generalise liftEffect and foldNatEffCat
Allow to plug any free category.
2019-09-29 20:46:19 +01:00
Marcin Szamotulski
1e64f283ba
Update README.md 2019-09-08 19:56:04 +00:00
Marcin Szamotulski
5045600e02
Removed commented out rewrite rule 2019-09-08 21:36:13 +02:00
Marcin Szamotulski
2bfe243cdf Consistently add inline pragmas to AlgebraFree2 instances
It's not required in some of them, but in others (e.g. C) the rewrite
rules fire only when they are present.  Also since we intend to inline
the definitions, it's better to be explicit.
2019-09-08 21:08:52 +02:00
Marcin Szamotulski
131fd47651 Renamed arr family of function to lift
e.g. arrC -> liftC, arrCat -> liftCat

'arr' is used in 'Arrow' class and we use 'lift' prefix in
'AlgebraFree2' class, thus lift prefix seems more appropriate.
2019-09-08 21:08:52 +02:00
Marcin Szamotulski
e5d030ebf7 Rearange function, rewrite rules and type class instances 2019-09-08 21:08:52 +02:00
Marcin Szamotulski
c71fc6678b GHC rewrite rules for ListTr 2019-09-08 21:08:52 +02:00
Marcin Szamotulski
53616ddd34 Remove some redundant INLINE pragmas 2019-09-08 21:08:52 +02:00
Marcin Szamotulski
a7dfb4473a Rewrite rules in Free.Internal module 2019-09-08 21:08:52 +02:00