Releases: hellas-ai/open-hypergraphs
Releases · hellas-ai/open-hypergraphs
0.2.8: Lax Optics
Previously, implementing an Optic for lax open hypergraphs was very annoying. You'd have to:
- Translate your term to
strict - Define a
Fwdfunctor - Define a
Revfunctor - Define the
Opticwith the data-parallel interface - Map your strict term and then optionally adapt it
- Translate back to lax
Now things are easier:
- Define a struct like
MyOptic, and implement thelax::Optictrait - Call
map_arrowormap_adapted