1# jrec — anonymous records for busy people
3Based on [superrecord](https://hackage.haskell.org/package/superrecord), but simplified. No automatic field reordering. No GHCJS bits inside. Easier to hack on.
7* Nice construction syntax:
10 Rec (#id := 18853, #orderId := "MG13-233")
13* Provides `Generic` instances out of the box. Aeson, etc can't believe these aren't normal records! Anything `Generic`-derived just works.
15* Provides `generic-lens` and `generic-optics` instances out of the box. Due to those custom instances, we support polymorphic updates.
17* O(1) field access, O(n) construction.
19* PureScript-style partial records — if you have a `Rec ("foo" := Int ': rest)`, `HasField "foo"` will work just fine.
23IDE support is available inside `nix-shell`. For example, if you use VS Code, you may launch it as:
26nix-shell --run "code ."
31Run `bin/test` for fast-reloading tests. When library sources change, the test script will reload instantly and re-run the tests.
36* Expose all internals.
37* `-- NOTE: doesn't use 'KeyDoesNotExist'` — fix this.
38* `RemoveAccessTo` — can we get rid of it?
42* The `JRec.Internal` module is entirely based on the code from [superrecord](https://hackage.haskell.org/package/superrecord).
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list