1
1
mirror of https://github.com/srid/ema.git synced 2024-11-29 09:25:14 +03:00
Commit Graph

70 Commits

Author SHA1 Message Date
Sridhar Ratnakumar
cf582e7dc6 nix: fourmolu doesn't require the workaround 2022-08-06 14:06:04 -04:00
Sridhar Ratnakumar
52b420a924 Fix nix shell build by using fourmolu 2022-08-06 14:00:16 -04:00
Sridhar Ratnakumar
172a84cc79
Update nix inpugs (ghc 9.2.4) (#125) 2022-08-06 12:53:56 -04:00
Sridhar Ratnakumar
94b19ea2a0 Disable tests on 9.0 2022-08-02 19:05:10 -04:00
Riuga
67da7235a1
Static Verification of Errors in Generic Derivation of (HasSubModels, IsRoute) (#120)
* Added type-errors-pretty dependency

* Implemented static verification of subroutes & submodels

* Introduce HasAnyT 

Co-authored-by: Sridhar Ratnakumar <srid@srid.ca>
2022-07-20 11:32:42 -04:00
Sridhar Ratnakumar
d58330f477
GHC 9.2.3 (#118)
* Update nixpkgs

* nix: use nixpkgs-unstable (advances +2 days)
2022-07-17 15:11:52 -04:00
Sridhar Ratnakumar
1d67c1b85b
Revert "GHC 9.2.2 -> 9.2.3 (#109)" (#112)
This reverts commit 1959f780af.
2022-07-02 09:58:11 -04:00
Sridhar Ratnakumar
1959f780af
GHC 9.2.2 -> 9.2.3 (#109) 2022-07-01 16:04:00 -04:00
Sridhar Ratnakumar
d5f082c316 Disable SubRoute generics if on GHC <9.2
Resolves #99
2022-06-28 11:01:19 -04:00
Sridhar Ratnakumar
3c73aca38a
Use GHC 9.2
Also, disable Github Actions as Nix cache doesn't have 9.2 yet. Garnix is fine.
2022-06-26 16:03:22 -04:00
Sridhar Ratnakumar
44e6e421d9 nix: Doc 2022-06-11 11:42:44 -04:00
Sridhar Ratnakumar
0110d3ca7b nix: Update all inputs 2022-06-05 21:27:01 -04:00
Sridhar Ratnakumar
80ad7020e8 nix: Update haskell-flake 2022-05-30 19:04:49 -04:00
Sridhar Ratnakumar
36f7d649ff nix: Update haskell-flake, and nixpkgs 2022-05-30 18:50:27 -04:00
Sridhar Ratnakumar
fe695a1523 nix: Switch to srid/haskell-flake 2022-05-30 09:32:57 -04:00
Sridhar Ratnakumar
ffa731838e nix: Update all inputs 2022-05-21 09:49:57 -04:00
Sridhar Ratnakumar
2782054592 Update nixpkgs 2022-05-10 21:13:12 -04:00
Sridhar Ratnakumar
a8e344c0e8 Update nixpkgs, and use treefmt 2022-05-04 19:54:57 -04:00
Sridhar Ratnakumar
05c8a21273 Advance nixpkgs, and update lint-utils 2022-04-25 20:22:51 -04:00
Sridhar Ratnakumar
5b99429297 Advance nixpkgs for m1 mac support 2022-04-09 11:46:13 -04:00
Sridhar Ratnakumar
f44c400067 Update nixpkgs, to use GHC 9 2022-04-06 17:03:59 -04:00
Sridhar Ratnakumar
7fd7a399a0 Check HLS in flake check
Resolves #84
2022-03-27 16:49:07 -04:00
Sridhar Ratnakumar
753c7c99f6 Switch to fourmolu; and check format in CI 2022-03-27 14:39:19 -04:00
Sridhar Ratnakumar
f9be02c134 nix: Use relude from nixpkgs; use hercules CI; use 'default' 2022-03-27 14:21:48 -04:00
Sridhar Ratnakumar
ed66ca49cb Update flake inputs 2022-03-27 11:21:31 -04:00
Sridhar Ratnakumar
4c0545664d rename 2022-03-19 13:58:46 -04:00
Sridhar Ratnakumar
e88e38040f Use relude 1.0 2022-03-18 18:50:23 -04:00
Sridhar Ratnakumar
8c9d472b22 Update nixpkgs, etc. 2022-03-17 13:26:18 -04:00
Sridhar Ratnakumar
bcabc170b7 Advance nixpkgs 2022-03-07 09:02:47 -05:00
Sridhar Ratnakumar
602002a1fd Advance nixpkgs 2022-02-16 19:30:52 -05:00
Sridhar Ratnakumar
40ef7f0e15
Ema r & ModelFor r (#82)
* Change typeclass to be `Ema r`.

* Error out when allRoutes returns empty, in gen.

Fixes #73

* Fix runEmaPure and Ema instance for ()

* Update nixpkgs, and add bin/repl
2022-02-12 11:16:47 -05:00
Sridhar Ratnakumar
bd0d1ba8fd Ema.Route.Slug moved to hackage 2022-02-05 11:55:40 -05:00
Sridhar Ratnakumar
01c93d07d7 Disable examples by default
This, in addition previous commits, resolves #68
2022-02-05 11:08:11 -05:00
Sridhar Ratnakumar
fd61103af1 Use eachDefaultSystem 2022-01-30 12:06:36 -05:00
Sridhar Ratnakumar
28eb12ff07 nix: add "aarch64-linux" 2022-01-29 13:43:30 -05:00
Sridhar Ratnakumar
37298d62a8 Advance nixpkgs 2022-01-29 13:43:10 -05:00
Sridhar Ratnakumar
963b7ea2d8 Advance nixpkgs 2022-01-07 15:36:45 -05:00
Sridhar Ratnakumar
d773da4a13 Advance nixpkgs
Remove unionmount override. And up ver.
2022-01-02 12:17:18 -05:00
Sridhar Ratnakumar
06402ea7f3 nix: add pre-commit-check 2021-12-23 19:41:49 -05:00
Sridhar Ratnakumar
9e2743c0a3 Advance nixpkgs 2021-12-19 11:23:06 -05:00
Sridhar Ratnakumar
ad884e4b7c Support M1 Mac 2021-12-05 17:04:07 -05:00
Sridhar Ratnakumar
746479ce1b Advance nixpkgs 2021-12-05 16:58:09 -05:00
Sridhar Ratnakumar
a85bdc922e Advance nixpkgs 2021-12-03 20:38:36 -05:00
Sridhar Ratnakumar
4690407be5 Update nixpkgs, and add m1 mac to flake.nix 2021-11-28 15:47:36 -05:00
Sridhar Ratnakumar
68a9d57a5d Update nixpkgs 2021-11-21 17:49:03 -05:00
Sridhar Ratnakumar
ee4b93eeda Move filesystem code to separate library 2021-11-21 17:47:24 -05:00
Sridhar Ratnakumar
8d4ba79adf Advance nixpkgs 2021-11-07 17:22:44 -05:00
Sridhar Ratnakumar
7bf1c1d837 advance nixpkgs 2021-10-09 14:13:18 -04:00
Sridhar Ratnakumar
22512991a8 Advance nixpkgs to fix the HLS bug 2021-09-25 11:44:59 -04:00
Sridhar Ratnakumar
dfc9e7b9a7 Advance nixpkgs 2021-09-24 19:10:54 -04:00