1
1
mirror of https://github.com/juspay/jrec.git synced 2024-10-05 14:47:25 +03:00
Commit Graph

90 Commits

Author SHA1 Message Date
Sridhar Ratnakumar
3be4f9c86a .vscode: remove tasks.json 2023-03-12 20:52:54 -04:00
Sridhar Ratnakumar
d1515540b9 bin/test: flake'ify 2023-03-12 20:52:24 -04:00
Sridhar Ratnakumar
4485427f84 Add working .vscode settings for flakes 2023-03-12 20:52:15 -04:00
Sridhar Ratnakumar
60b9d98b75
Merge pull request #29 from juspay/flake-ghc88
Restore support for Aeson 1.x & build GHC 8.8 package in Nix
2023-03-12 20:30:57 -04:00
Sridhar Ratnakumar
ce478a2721 Restore support for older Aeson (1.x) 2023-03-12 20:29:41 -04:00
Sridhar Ratnakumar
407b588e30 nix: Build on GHC 8.8 as well
We are using a different nixpkgs only because that's what default.nix
has been using.
2023-03-12 20:29:33 -04:00
Sridhar Ratnakumar
44f2459ce4
Merge pull request #28 from abshekh/master
Add `flake.nix`
2023-03-12 20:27:20 -04:00
Sridhar Ratnakumar
7f26cbb5df Remove the old default.nix 2023-03-12 20:22:24 -04:00
Sridhar Ratnakumar
d79326d7b5 gitignoresrc is not required (flakes already ignores them) 2023-03-12 19:58:56 -04:00
Sridhar Ratnakumar
8ec690bb11 Update nixpkgs; thus remove 140774 workaround 2023-03-12 19:57:53 -04:00
Abhishek Singh
991d3a48d4 remove Setup.hs and update modules in .cabal 2023-03-11 23:26:33 +05:30
Sridhar Ratnakumar
1d72bf7746 ci: Enable flakes 2023-03-11 11:59:43 -05:00
Sridhar Ratnakumar
828885c4e8 ci: remove cache (no longer available) 2023-03-11 11:57:49 -05:00
Sridhar Ratnakumar
f3c2c6ff43 ci: Change to use flake 2023-03-11 11:56:22 -05:00
Abhishek Singh
962b3ced91 add flake.nix 2023-03-11 20:22:03 +05:30
Abhishek Singh
1b701a3b68
Merge pull request #1 from ilyakooo0/iko/bump
Update to work with 20.9 snapshot
2023-03-11 20:14:35 +05:30
iko
96febf9bab
Update to work with 20.9 snapshot 2023-02-01 10:52:53 +03:00
kana
0bfb2fae74
Update jrec.cabal 2022-05-12 21:18:59 +04:00
kana
3d0e2c231a
Merge pull request #25 from avnik/no-generic-flag
No generic flag
2022-04-29 19:11:24 +04:00
Alexander V. Nikolaev
d185bd483f Remove unused imports 2022-04-18 15:29:28 +03:00
Alexander V. Nikolaev
f86932af29 Show reimplemented without generics 2022-04-18 15:05:56 +03:00
Alexander V. Nikolaev
dff2daf67e With(out) generic flag 2022-04-17 17:45:16 +03:00
kamoii
94ab29fa93
Change append/combine implemantion to simply append records (#24)
Co-authored-by: kamoii <>
2020-11-25 15:34:24 +03:00
Artyom Kazak
93e20f4e87
Merge pull request #21 from kamoii/improve-to-tuple
An attempt to improve JRec.Tuple compile time
2020-10-28 15:15:47 +01:00
kamoii
433713feec Add unsafeGet function and re-implement toTuple with it
An attempt to improve JRec.Tuple compile time.
2020-10-28 21:52:45 +09:00
Artyom Kazak
41fb875256
Merge pull request #20 from kamoii/ord-instance
Implement Ord (Rec lts) instance
2020-10-27 21:20:00 +01:00
kamoii
a6371cc9dc Implement Ord (Rec lts) instance 2020-10-28 03:54:02 +09:00
Andrew / Kana
7877b7e003
Merge pull request #17 from juspay/kana/omit-nothing-while-encoding
Omit Nothing while encoding to json
2020-10-22 18:24:25 +03:00
kana-sama
a3921134a7 omit Nothing while encoding to json 2020-10-22 18:21:52 +03:00
Andrew / Kana
bf1e7398a1
Merge pull request #15 from juspay/kana/omit_optional_fields
Omit optional fields when null while decoding
2020-10-09 17:43:34 +03:00
kana-sama
b756acae0e add aeson test 2020-10-09 17:40:57 +03:00
kana-sama
d56df0eda2 omit optional fields when null while decoding 2020-10-09 16:53:45 +03:00
Artyom Kazak
61a39f1791
Merge pull request #9 from juspay/crazy
Make JRec not crazy
2020-09-04 15:59:24 +03:00
Artyom Kazak
138518396c Fix 2020-09-04 15:13:12 +03:00
Artyom Kazak
3652d9a643 A test showing that JRec is currently crazy 2020-09-04 00:29:04 +03:00
Artyom Kazak
74bf2489cb Make nix-shell work on GHC 8.10 2020-09-03 21:34:11 +03:00
Artyom Kazak
dec54b864a Make tests pass on GHC 8.10 2020-09-03 21:33:55 +03:00
Andrew / Kana
24006893b4
Merge pull request #7 from juspay/kana-json-options
Add options to json encoder/decoder
2020-09-03 17:16:58 +03:00
kana-sama
32fc708fcb if -> ifdef 2020-09-03 17:15:20 +03:00
kana-sama
b149883e4c Add flag with-aeson to enable/disable aeson instances 2020-09-03 16:11:49 +03:00
kana-sama
588247b575 Add options to json encoder/decoder 2020-09-02 20:23:27 +03:00
Sridhar Ratnakumar
d921d7c768 Add should-not-typecheck test 2020-08-28 17:32:24 -04:00
Sridhar Ratnakumar
2175b25300 Fix typo (bug) in RemoveAccessTo 2020-08-28 17:32:12 -04:00
Sridhar Ratnakumar
02deba9262 Implement insertOrSet 2020-08-28 17:07:34 -04:00
Sridhar Ratnakumar
ed195a60a4 Update comment, re: append 2020-08-28 16:23:43 -04:00
Sridhar Ratnakumar
fc0c447b46 Add eq test 2020-08-28 16:14:24 -04:00
Sridhar Ratnakumar
c1cf9b74e9 Add comments 2020-08-28 16:14:19 -04:00
Sridhar Ratnakumar
133a55f148 Add insert 2020-08-23 14:53:49 -04:00
Sridhar Ratnakumar
321daa44a5 Constraint result size to match union 2020-08-23 14:14:47 -04:00
Sridhar Ratnakumar
7bbf81ce7a Add insertOrSet, WIP
Commented out for later
2020-08-23 14:13:49 -04:00