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 |
|
Sridhar Ratnakumar
|
0e3d5a897d
|
Implement union
|
2020-08-22 14:25:04 -04:00 |
|
Sridhar Ratnakumar
|
f59a722112
|
Fix append test to actually use append
The test now fails, as expected. Apparently "append" is not working as
intended, as it sets *both* the duplicate fields to the same value
(right).
|
2020-08-22 14:16:33 -04:00 |
|
Sridhar Ratnakumar
|
0d390d945d
|
Simplify RecAppend
Replace unnecessarily complex implementration with a simple one, that
doesn't change behaviour (inasmuch as tests continue to succeed).
|
2020-08-22 13:51:47 -04:00 |
|
Sridhar Ratnakumar
|
9c317ad073
|
Make bin/test reload automatically
|
2020-08-19 20:00:49 -04:00 |
|
Sridhar Ratnakumar
|
d976477eb2
|
Rename, and expose JRec.Internal
Resolves #6
|
2020-08-19 19:47:52 -04:00 |
|
Sridhar Ratnakumar
|
9649572445
|
Add append
|
2020-08-19 19:42:44 -04:00 |
|
Sridhar Ratnakumar
|
747dfb5eb0
|
Add union tests, noting what doesn't work
|
2020-08-19 19:40:14 -04:00 |
|
Sridhar Ratnakumar
|
704a39816d
|
Finish IDE support
|
2020-08-19 19:32:05 -04:00 |
|
Sridhar Ratnakumar
|
152d2bbfdf
|
Add CI matrix with GHC 8.10 support; enable Cachix (#5)
|
2020-08-04 22:55:47 -04:00 |
|
Sridhar Ratnakumar
|
aa02e133f8
|
Apply ormolu from default.nix
|
2020-08-04 21:33:24 -04:00 |
|
Sridhar Ratnakumar
|
aa02001c22
|
Add ormolu and HLS
|
2020-08-04 21:33:15 -04:00 |
|
Sridhar Ratnakumar
|
2840af55b9
|
Add missing module to cabal file
|
2020-08-04 21:31:36 -04:00 |
|
Sridhar Ratnakumar
|
57a3eb66ca
|
Don't expose internal modules
|
2020-08-02 13:43:50 -04:00 |
|
Sridhar Ratnakumar
|
d73d893161
|
Update README
|
2020-08-02 13:43:38 -04:00 |
|
Sridhar Ratnakumar
|
dc33205da2
|
Run ormolu
|
2020-08-02 13:39:06 -04:00 |
|
Sridhar Ratnakumar
|
187646cac8
|
Add generic-optics instance
|
2020-08-02 13:33:16 -04:00 |
|
Sridhar Ratnakumar
|
0a9658222c
|
Drop the newtype (#2)
* Drop the newtype Record
* Don't expose MkRep
* Add Show instance, fixing tests
|
2020-08-02 13:32:16 -04:00 |
|
Sridhar Ratnakumar
|
b8524e1dea
|
Fix comment
|
2020-08-02 12:37:15 -04:00 |
|
Sridhar Ratnakumar
|
7df1dfba2c
|
Run ormolu
|
2020-07-31 18:24:47 -04:00 |
|
Sridhar Ratnakumar
|
5badc49588
|
Remove (:=:) alias
|
2020-07-31 18:17:56 -04:00 |
|
Sridhar Ratnakumar
|
451841c9ea
|
Put tests in test/
|
2020-07-31 18:07:19 -04:00 |
|
Sridhar Ratnakumar
|
1b244f87da
|
Add empty tests
|
2020-07-31 17:55:54 -04:00 |
|
Sridhar Ratnakumar
|
3a3bd4a9d8
|
Use gitignoreSrc to prevent unnecessary rebuilds
|
2020-07-31 17:43:01 -04:00 |
|
Sridhar Ratnakumar
|
839ef88b96
|
rename module: Rec -> JRec
|
2020-07-31 10:30:44 -04:00 |
|
Sridhar Ratnakumar
|
a7a214457c
|
Update README.md
|
2020-07-30 14:23:40 -04:00 |
|
Sridhar Ratnakumar
|
f691c27b64
|
Rename to jrec
|
2020-07-30 14:20:51 -04:00 |
|
Sridhar Ratnakumar
|
3aee9df950
|
Merge pull request #1 from juspay/dev
Initialize
|
2020-07-29 21:25:54 -04:00 |
|
Sridhar Ratnakumar
|
af4c3ffb0d
|
Record -> Rec
To match package name
|
2020-07-29 21:19:06 -04:00 |
|
Sridhar Ratnakumar
|
0fd1d8512b
|
Add CI
|
2020-07-29 21:13:57 -04:00 |
|
Sridhar Ratnakumar
|
fa216dda07
|
Add Nau.Field
|
2020-07-29 21:11:38 -04:00 |
|