Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
Rosetta is used to convert from/to backend. If we want to covert backends b -> c, we essentially do c.fromRosetta (b.toRosetta()).
Instances
Show Rosetta Source # | |
Eq Rosetta Source # | |
(k ~ A_Lens, a ~ Index, b ~ Index) => LabelOptic "index" k Rosetta Rosetta a b Source # | |
Defined in Charon.Backend.Rosetta | |
(k ~ A_Lens, a ~ Bytes 'B Natural, b ~ Bytes 'B Natural) => LabelOptic "size" k Rosetta Rosetta a b Source # | |
Defined in Charon.Backend.Rosetta |