Skip to content
This repository has been archived by the owner on Mar 21, 2019. It is now read-only.

Bidirectional Transformation of Data #33

Open
CMCDragonkai opened this issue Jul 8, 2018 · 1 comment
Open

Bidirectional Transformation of Data #33

CMCDragonkai opened this issue Jul 8, 2018 · 1 comment
Assignees
Labels
research Something that neeeds to be researched wontfix This will not be worked on

Comments

@CMCDragonkai
Copy link
Member

CMCDragonkai commented Jul 8, 2018

It appears that Emergence will deal with this quite a lot either via FFI boundaries or via configuration files.

If you want to find early papers on the topic of lenses, you'd be better served by going off to read the papers by Benjamin Pierce on Boomerang. In there he defines several notions of lenses. The ones that correspond to the form of functional references used in Haskell would be what he calls a "very well behaved lens". He then proceeds to generalize them in a different direction than the path I take in the lens package. He focuses on using them to restore invariants, while "very well behaved" lenses just don't break the invariants in the first place.
Edward KMETT

@CMCDragonkai
Copy link
Member Author

CMCDragonkai commented Jul 8, 2018

It may be quite useful for doing manipulation of the underlying artifact config. Since the artifact specific config can be Nix or Docker: NixOS/nix#165

This sort of work is also related to my js project for tree index. That is when transforming to an in-memory tree of the configuration file (git config file in the case of polykey), you want to also "index" the tree so that you can find things quickly, but the index has to be robust in the face of mutations. https://github.com/MatrixAI/js-tree-order-index

@mokuki082 mokuki082 added wontfix This will not be worked on research Something that neeeds to be researched labels Aug 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
research Something that neeeds to be researched wontfix This will not be worked on
Development

No branches or pull requests

2 participants