| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Traq.ProtoLang.Lenses
Documentation
Basic functor support for our AST
Associated Types
type MappedSize ext size' #
Methods
mapSize :: (size ~ SizeType ext, size' ~ SizeType ext', ext' ~ MappedSize ext size') => (size -> size') -> ext -> ext' #
Instances
| MapSize prim => MapSize (Primitive prim) # | |
Defined in Traq.Primitives.Class Associated Types type MappedSize (Primitive prim) size' # | |
| MapSize ext => MapSize (Expr ext) # | |
Defined in Traq.ProtoLang.Lenses Associated Types type MappedSize (Expr ext) size' # | |
| MapSize ext => MapSize (FunBody ext) # | |
Defined in Traq.ProtoLang.Lenses Associated Types type MappedSize (FunBody ext) size' # | |
| MapSize ext => MapSize (FunDef ext) # | |
Defined in Traq.ProtoLang.Lenses Associated Types type MappedSize (FunDef ext) size' # | |
| MapSize ext => MapSize (NamedFunDef ext) # | |
Defined in Traq.ProtoLang.Lenses Associated Types type MappedSize (NamedFunDef ext) size' # Methods mapSize :: (size ~ SizeType (NamedFunDef ext), size' ~ SizeType ext', ext' ~ MappedSize (NamedFunDef ext) size') => (size -> size') -> NamedFunDef ext -> ext' # | |
| MapSize ext => MapSize (Program ext) # | |
Defined in Traq.ProtoLang.Lenses Associated Types type MappedSize (Program ext) size' # | |
| MapSize ext => MapSize (Stmt ext) # | |
Defined in Traq.ProtoLang.Lenses Associated Types type MappedSize (Stmt ext) size' # | |
| MapSize (DefaultPrimCollection size prec) # | |
Defined in Traq.Primitives Associated Types type MappedSize (DefaultPrimCollection size prec) size' # Methods mapSize :: (size0 ~ SizeType (DefaultPrimCollection size prec), size' ~ SizeType ext', ext' ~ MappedSize (DefaultPrimCollection size prec) size') => (size0 -> size') -> DefaultPrimCollection size prec -> ext' # | |
| MapSize (CAmplify size prec) # | |
Defined in Traq.Primitives.Amplify.CAmplify Associated Types type MappedSize (CAmplify size prec) size' # | |
| MapSize (Amplify size prec) # | |
Defined in Traq.Primitives.Amplify.Prelude Associated Types type MappedSize (Amplify size prec) size' # | |
| MapSize (QAmplify size prec) # | |
Defined in Traq.Primitives.Amplify.QAmplify Associated Types type MappedSize (QAmplify size prec) size' # | |
| MapSize (DetSearch size prec) # | |
Defined in Traq.Primitives.Search.DetSearch Associated Types type MappedSize (DetSearch size prec) size' # | |
| MapSize (PrimSearch size prec) # | |
Defined in Traq.Primitives.Search.Prelude Associated Types type MappedSize (PrimSearch size prec) size' # Methods mapSize :: (size0 ~ SizeType (PrimSearch size prec), size' ~ SizeType ext', ext' ~ MappedSize (PrimSearch size prec) size') => (size0 -> size') -> PrimSearch size prec -> ext' # | |
| MapSize (QSearchCFNW size prec) # | |
Defined in Traq.Primitives.Search.QSearchCFNW Associated Types type MappedSize (QSearchCFNW size prec) size' # Methods mapSize :: (size0 ~ SizeType (QSearchCFNW size prec), size' ~ SizeType ext', ext' ~ MappedSize (QSearchCFNW size prec) size') => (size0 -> size') -> QSearchCFNW size prec -> ext' # | |
| MapSize (RandomSearch size prec) # | |
Defined in Traq.Primitives.Search.RandomSearch Associated Types type MappedSize (RandomSearch size prec) size' # Methods mapSize :: (size0 ~ SizeType (RandomSearch size prec), size' ~ SizeType ext', ext' ~ MappedSize (RandomSearch size prec) size') => (size0 -> size') -> RandomSearch size prec -> ext' # | |
| MapSize (FindXorPeriod size prec) # | |
Defined in Traq.Primitives.Simons.Prelude Associated Types type MappedSize (FindXorPeriod size prec) size' # Methods mapSize :: (size0 ~ SizeType (FindXorPeriod size prec), size' ~ SizeType ext', ext' ~ MappedSize (FindXorPeriod size prec) size') => (size0 -> size') -> FindXorPeriod size prec -> ext' # | |
| MapSize (SimonsFindXorPeriod size prec) # | |
Defined in Traq.Primitives.Simons.Quantum Associated Types type MappedSize (SimonsFindXorPeriod size prec) size' # Methods mapSize :: (size0 ~ SizeType (SimonsFindXorPeriod size prec), size' ~ SizeType ext', ext' ~ MappedSize (SimonsFindXorPeriod size prec) size') => (size0 -> size') -> SimonsFindXorPeriod size prec -> ext' # | |
| MapSize (Core size prec) # | |
Defined in Traq.ProtoLang.Lenses Associated Types type MappedSize (Core size prec) size' # | |