charon-0.1: Template
Safe HaskellSafe-Inferred
LanguageGHC2021

Charon.Backend.Rosetta

Synopsis

Documentation

data Rosetta Source #

Rosetta is used to convert from/to backend. If we want to covert backends b -> c, we essentially do c.fromRosetta (b.toRosetta()).

Constructors

MkRosetta 

Fields

Instances

Instances details
Show Rosetta Source # 
Instance details

Defined in Charon.Backend.Rosetta

Eq Rosetta Source # 
Instance details

Defined in Charon.Backend.Rosetta

Methods

(==) :: Rosetta -> Rosetta -> Bool #

(/=) :: Rosetta -> Rosetta -> Bool #

(k ~ A_Lens, a ~ Index, b ~ Index) => LabelOptic "index" k Rosetta Rosetta a b Source # 
Instance details

Defined in Charon.Backend.Rosetta

(k ~ A_Lens, a ~ Bytes 'B Natural, b ~ Bytes 'B Natural) => LabelOptic "size" k Rosetta Rosetta a b Source # 
Instance details

Defined in Charon.Backend.Rosetta