C%      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                                  ! " # $ % & ' ( ) * + , - . /0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~(c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com> Trustworthy%&*+,059:;DIOQRT  :: Getter s a -> s -> a & :: Getter s a -> (a -> r) -> (s -> r)  * :: Setter s t a b -> (a -> b) -> (s -> t)      (c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com>None%&*+,/023459:;DIOQRT Poly-kinded productPoly-kinded ConstPoly-kinded composition&The extensible data types should take k -> *T as a parameter. This class allows us to take a shortcut for direct representation. h v! is the actual representation of h v.This is an isomorphism between h v and  h v. !_Wrapper :: Iso' (h v) (Repr h v)Restricted version of .. It is useful for eliminating ambiguousness.Wrap a result of   !"#$%     !"#$%(c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com> Trustworthy%&*+,/059:;<=?DIOQRT[Ideally, it will be 'Map Succ'DFindType typesFUnicode flipped alias for RIA readable type search resultMM k v xs is essentially identical to  (k :> v) " xs , but the type v is inferred from k and xs.OA synonym for (Q)PThe kind of key-value pairsRx is a member of xsTThe position of x in the type level set xs.V Generates a T2 that corresponds to the given ordinal (0-origin).WRemember that  Member xs x from T.Y/Embodies a type equivalence to ensure that the T points the first element.Z Compare two Ts.[ There is no T of an empty list.\The T points the first element]The next membership&CDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcd-CDEFGHIJKLMNOPQRSTUVWXYZ[\]TUUVXYZ[\]RSWFDPQOMNGHIJKLECCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdQ0(c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com> Trustworthy%&*+,059:;DIOQRTfghijklfghijklfghijklfghijklh5(c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com>None%&*+,059:;<=DIOQRT nEvery element in xs satisfies coEnumerate all possible Ts of xs with an additional context.q(Every type-level list is an instance of q.rEnumerate all possible Ts of xs.s Count the number of memberships.t Enumerate Ts and construct an f.uThis class allows us to use w for both sums and products.xAccessor for an element.yLike x%, but reckon membership from its key.z-Access a specified element through a wrapper.{$Access an element through a wrapper.|>Access an element specified by the key type through a wrapper.mnopqrstuvwxyz{|}~$DFGHIJKLMNOPQRSTVWYZmnopqrstuvwxyz{|$uvwxyz{|TVZYRSWFDqrstnopmPQOMNGHIJKLmnopqrstuvwxyz{|}~(c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com>None$%&*+,059:;<=BDIOQRT The type of extensible products. (:*) :: (k -> *) -> [k] -> *A pointer to an element in a .Mutable type-indexed struct.Write a value in a .Read a value from a .Get a  from a name. Create a new  using the supplied initializer. Create a  full of the specified value. Create a new / using the supplied initializer with a context. Create a new  from an HList.Turn ) into an immutable product. The original  may not be used. Create a new  from a product.The size of a product.Combine products.$Right-associative fold of a product.Convert a product into an HList. Create a new ! using the contents of a product.Get an element in a product.Create a product from an  action which returns a .# 5(c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com>None%&*+,/059:;<=DIOQRTbThe extensible sum type (:|) :: (k -> *) -> [k] -> *Change the wrapper.O(1) lift a value."Try to extract something you want."Try to extract something you want.O(1) Naive pattern matchThere is no empty union.&Embed a value, but focuses on its key. 1 (c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com> Trustworthy$%&*+,/059:;<=DIOQRT:O(n) Prepend an element onto a product. Expressions like a <: b <: c <: nil are transformed to a single .Strict version of ().An empty product.Convert  into a product.Flipped -Map a function to every element of a product.;Transform every element in a product, preserving the order.   "a   (f . g) "a  f .  g  for heterogeneous product  for heterogeneous product1Map elements to a monoid and combine the results.  f .  g "a  (f . g)! with the membership of elements.$ with a constraint for each element.$ with a constraint for each element.<Traverse all elements and combine the result sequentially.  htraverse (fmap f . g) "a fmap (hmap f) . htraverse g htraverse pure "a pure htraverse (Comp . fmap g . f) "a Comp . fmap (htraverse g) . htraverse f   analog for extensible products The dual of  The dual of  with Ts.*A product filled with the specified value.3Construct a product using a function which takes a T.  f ( g) "a  (f . g)  ( m) "a m  ( k) "a k   version of .Pure version of .*A product filled with the specified value.  version of .Accumulate sums on a product.  haccum =  Group sums by type.$Evaluate every element in a product.-nopqrst-qrstnop00 None%&*+,059:;<=DIOQRT%Composition for a class and a wrapperForall upon a wrapper0Reify a collection of dictionaries, as you wish.)  #   (c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com>None%&*+,059:;<=DIOQRT  Similar to , but this focuses on keys. xs (k ':> v) is equivalent to M k v xsys contains xsUnicode alias for 'Reify the inclusion of type level sets.O(n) Select some elements.O(1) Embed to a larger union.'Reify the inclusion of type level sets.O(n) Select some elements.O(1) Embed to a larger union.   (c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com>None%&*+,059:;DIOQRT)Turn a wrapper type into a clause for it.ORetrieve the contents so that they matches and pass both to the given function.$Applies a function to the result of .O(1) Perform pattern matching.Flipped 0 (c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com>None%&*+,/059:;<=DIOQRT*A ghostly type which spells the field name!Signifies a field name internally4When you see this type as an argument, it expects a  FieldLensA. This type is used to resolve the name of the field internally."The trivial inextensible data type FieldOptic s; is a type of optics that points a field/constructor named s.The yielding fields can be  Jhttp://hackage.haskell.org/package/lens/docs/Control-Lens-Lens.html#t:LensLenses for s and  Khttp://hackage.haskell.org/package/lens/docs/Control-Lens-Lens.html#t:PrismPrisms for s. ( "foo" = Associate "foo" a xs => Lens' ( xs) a ) "foo" = Associate "foo" a xs => Prism' ( xs) a s can be generated using mkField defined in the Data.Extensible.TH module.Simple variant Simple record The dual of  )VariantOf :: (v -> *) -> [Assoc k v] -> *1The type of records which contain several fields. (RecordOf :: (v -> *) -> [Assoc k v] -> *A  h (k ':> v) is h v annotated with the field name k.  :: (v -> *) -> Assoc k v -> *Combined constraint for P Take the type of the value Take the type of the key  Proxy-level  . This is useful when using .  Lift a function for the content.  Lift a function for the content. An empty .*Select a corresponding field of a variant.Pattern matching on a #Annotate a value by the field name. foo :: - '["num" >: Int, "str" >: String] foo = #num = 42 <: #str = "foo" <: nil Lifted ()  foo :: IO (? '["num" >: Int, "str" >: String]) foo = hsequence $ #num < => readLn  :#str <@= getLine <: nil @+Annotate a value by the field name without .'Kind-monomorphic, unwrapped version of ('=')@ Shows in field @= value" style instead of the derived one.%               !     1111(c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com>None%&*+,059:;DIOQRT6/Throwing an exception0An effect with no result1(,) already is a writer monad.2fThe reader monad is characterised by a type equality between the result type and the enviroment type.33 [a, b, c] r is a -> b -> c -> r4)Anonymous representation of instructions.7Transformation between effects:A function to bind an < in B.; The extensible operational monad<.A unit of named effects. This is a variant of (:|)! specialised for 'Type -> Type'.>Lift an instruction onto an ; action.?Lift an instruction onto an ;+ action and apply a function to the result.@/Censor a specific type of effects in an action.AUpcast an action.B7Build a relay-style handler from a triple of functions. `runStateEff = peelEff1 (a s -> return (a, s)) (m k s -> let (a, s') = runState m s in k a s') CB/ specialised for continuations with no argumentDB( specialised for 1-argument continuationE*A common value for the second argument of B!. Binds an instruction directly.F/A pre-defined value for the second argument of B.. Preserves the argument of the continuation.G/A pre-defined value for the second argument of B/. Preserves two arguments of the continuation.HReveal the final result of ;.ITear down an action using the   instance of the instruction.J Process an ; action using a record of 7s.KPass the arguments of 4 to the supplied function.L Create a  of a 7 for an 4.MSpecialised version of B for 4s. You can pass a function a -> b -> ... -> (q -> r) -> r as a handler for 4 '[a, b, ...] q.N$Non continuation-passing variant of M.OFetch the environment.P#Pass the environment to a function.QModify the enviroment locally.RRun the frontal reader effect.SGet the current state.T%Pass the current state to a function.U#Replace the state with a new value.VModify the state.W#Lift a state modification function.XRun the frontal state effect.Y8Run the frontal state effect and return the final state.Z9Run the frontal state effect and return the final result.[6Write the second element and return the first element.\Write a value.]/Squash the outputs into one step and return it.^3Modify the output using the function in the result._Run the frontal writer effect.`Run the frontal state effect.a)Break out of the computation. Similar to !.b,Run an effect which may fail in the name of k.cThrow an exception e,, throwing the rest of the computation away.d"Attach a handler for an exception.eRun an action and abort on c.f!Put a milestone on a computation.g*Run a computation until the first call of f.h$Place a continuation-passing action.iUnwrap a continuation.=/0123456789:;<=>?@ABRe-bind an unrelated actionreturn the result%Handle the foremost type of an actionCreturn the result%Handle the foremost type of an actionDreturn the result%Handle the foremost type of an actionEFGHIJKLMRe-bind an unrelated actionreturn the resultHandle the foremost actionNHandle the foremost actionOPQRSTUVW"XYZ[\]^#_`abcdefghi>/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghi><=;>?@A789JB:ECFDGHI4563KLMN2OPQRSTUVWXYZ1[\]^_`0ab/cdefghi8/0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVW"XYZ[\]^#_`abcdefghiL1(c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com>None%&*+,059:;<=DIOQRT lmtl-compatible writermmtl-compatible statenmtl-compatible readeroSpecialised version of R compatible with the $ instance.pX specialised for the % instance.qZ specialised for the % instance.rY specialised for the % instance.ss specialised for the & instance.tt specialised for the & instance.u Similar to  runMaybeT , but on ;v Similar to ' , but on ;x A bit dubiousjklmn()*+opqrstuvwxyz{|} jklmnopqrstuv nompqrlstkujvjklmn()*+opqrstuvwxyz{|}(c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com>None%&*+,/0259:;DIOQRT[, with a defaultIOption without an argument; the result is the total count of this option.Option with an argumentXWhen there's an error, print it along with the usage info to stderr and terminate with -. ~./ short option long option explanation short option long option placeholder explanationa record of option descriptors arguments2(result, remaining non-options, errors, usageInfo) ~ ~ ~./(c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com>None%&*+,059:;<=DIOQRTSpecialised version of |.(c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com>None%&*+,059:;DIOQRT[ Wrapped Maybe Apply a function to its content.The inverse of .A product filled with  !,Extend a product and fill missing fields by Null.)Narrow the range of the sum, if possible. (c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com> Trustworthy%&*+,059:;DIOQRT[Alias for plain sumsAlias for plain productsO(log n) Add a plain value to a product.Extract a plain value.Embed a plain value.)Naive pattern matching for a plain value.%An accessor for newtype constructors.51(c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com>None%&*+,059:;DIOQRT[3The class of types that can be converted to/from a .Convert a value into a . Convert a  to a value. 5record :: IsRecord a => Iso' a (Record (RecFields a)) Create an * instance for a normal record declaration. 012 012(c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com> Trustworthy$%&*+,059:;DIOQRT[Generate fields using |.  "foo Bar" defines: Rfoo :: FieldOptic "foo" foo = itemAssoc (Proxy :: Proxy "foo") _Bar :: FieldOptic Bar" _Bar = itemAssoc (Proxy :: Proxy Bar) /Generate named effects from a GADT declaration. LdecEffects [d| data Blah a b x where Blah :: Int -> a -> Blah a b b |]  generates type Blah a b = "Blah" >: Action '[Int, a] b blah :: forall xs a b . Associate "Blah" (Action '[Int, a] b) xs => Int -> a -> Eff xs b blah a0 a1 = liftEff (Data.Proxy.Proxy :: Data.Proxy.Proxy "Blah") (AArgument a0 (AArgument a1 AResult)) WInstead of making a type synonym for individual actions, it defines a list of actions.KGenerates type synonyms for the set of actions and also individual actions.(generate a synonym of the set of actions(generate synonyms for individual actions3456789:;3456789:;(c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com>None%&*+,059:;DIOQRT h xs mA is the monad of computations that may depend on the elements in xs.#Hitch an element associated to the  through a wrapper.6Take a value from the tangles. The result is memoized.Run a 8 action and return the result and the calculated values.Run a  action.-Run tangles and collect all the results as a .   None%&*+,059:;<=DIOQRTFields are instances of  and fit in the representation.4Conversion between a value and a bit representation. Instances of ! must satisfy the following laws: HfromBits (x `shiftL` W .|. toBits a) "a a toBits a `shiftR` W == zeroBitswhere W is the .0Bit-vector product. It has similar interface as (:*) but fields are packed into r.5Convert a normal extensible record into a bit record.5Convert a normal extensible record into a bit record. for Update a field of a ."<=<=(c) Fumiaki Kinoshita 2017BSD3'Fumiaki Kinoshita <fumiexcel@gmail.com>None%&*+,059:;DIOQRT DFGHIJKLMNOPQRSTVWYZmnopqrstuvwxyz{|     /0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghi> !""#$%&'()*++,,-../0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                                          ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ ABCDEFGHIJJKLMNNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~o                 ! " # $ % & ' ( ) *+, - . / 012345675895:;<=>?@ABCDEFGHIJKLMNOPQRSTUV'extensible-0.4.7-9l1pejX5M0GGF8hg7qtV78Data.Extensible.EffectData.Extensible.Internal.RigData.Extensible.WrapperData.Extensible.InternalData.Extensible.HListData.Extensible.ClassData.Extensible.StructData.Extensible.SumData.Extensible.ProductData.Extensible.DictionaryData.Extensible.InclusionData.Extensible.MatchData.Extensible.FieldData.Extensible.Effect.DefaultData.Extensible.GetOptData.Extensible.LabelData.Extensible.NullableData.Extensible.PlainData.Extensible.RecordData.Extensible.THData.Extensible.TangleData.Extensible.BitsLHListData.ExtensiblebaseData.Functor.IdentityIdentitytransformers-0.5.2.0Control.Monad.Trans.ContContT Control.Monad.Trans.State.StrictStateExchangeOptic'OpticviewviewsoverwithIsoreview$fProfunctorExchangeProdConst' getConst'CompgetCompWrapperRepr_Wrapper _WrapperAscomp$fArbitraryProd $fMonoidProd$fSemigroupProd$fWrapperkProd$fHashableProd $fNFDataProd$fWrapperkProxy$fWrapperkConst'$fWrapperkComp$fWrapperTYPE[]$fWrapperTYPEMaybe$fWrapperTYPEIdentity $fShowComp$fEqComp $fOrdComp $fNFDataComp $fGenericComp$fSemigroupComp $fMonoidComp$fArbitraryComp$fHashableComp $fShowConst' $fEqConst' $fOrdConst'$fGenericConst'$fNFDataConst'$fFunctorConst'$fFoldableConst'$fTraversableConst'$fArbitraryConst'$fHashableConst' $fShowProd$fEqProd $fOrdProd $fGenericProd $fFunctorProd$fFoldableProd$fTraversableProd$fTraversableComp$fFoldableComp $fFunctorCompLastFindTypeHead∈ FindAssoc Elaborate Elaborated ExpectingMissing Duplicate Associate association>:Assoc:>Member membership Membership getMemberId mkMembershiprememberreifyMembership leadershipcompareMembershipimpossibleMembershipherenavNext$fSemigroupMembership$fOrdMembership$fEqMembership$fShowMembership$fAssociatevkkvxs$fHashableMembership $fMemberkxsx$fNFDataMembershipHNilHCons htraversehtraverseWithIndexhfoldrWithIndexhlengthForallFForall henumerateForhgenerateListForGenerate henumeratehcount hgenerateList ExtensibleExtensibleConstrpieceAtpiece pieceAssocitemAtitem itemAssoc $fForallac: $fForallkc[] $fGeneratek: $fGeneratek[]++:*WrappedPointerStructsetget atomicModify atomicModify' atomicModify_atomicModify'_-$>new newRepeatnewFor newFromHList unsafeFreezethawhappendtoHListnewFromhlookuphfrozenhmodify$fExtensiblekfp:*$fHasUpdateWrappedPointeraa$fHasSetterWrappedPointera$fHasGetterWrappedPointera:|EmbedAthoistembedstrikestrikeAt<:|exhaust embedAssoc$fExtensiblekfp:| $fBounded:|$fEnum:|<:@:>@==$fProfunctorLabelPhantom$fExtensiblekfpInextensible $fShowField$fWrapperAssocField $fUnboxField$fVectorVectorField$fMVectorMVectorField$fKeyValuevkpkpv:>$fGenericField$fHashableField$fArbitraryField $fNFDataField$fBoundedField $fEnumField $fMonoidField$fStorableField$fSemigroupField$fRealFracField$fRealFloatField $fRealField$fFloatingField$fFractionalField$fIntegralField $fNumField $fOrdField $fEqField EitherEffMaybeEff WriterEff ReaderEffFunctionActionAResult AArgument InterpreterrunInterpreterRebinderEff InstructionliftEffliftsEffhoistEffcastEffpeelEffpeelEff0peelEff1 rebindEff0 rebindEff1 rebindEff2leaveEff retractEff handleEff runAction@!? peelAction peelAction0askEffasksEfflocalEff runReaderEffgetEffgetsEffputEff modifyEffstateEff runStateEff execStateEff evalStateEff writerEfftellEff listenEffpassEff runWriterEff execWriterEff nothingEff runMaybeEffthrowEffcatchEff runEitherEfftickEff runIterEffcontEff runContEff EitherDefMaybeDef WriterDefStateDef ReaderDef runReaderDef runStateDef evalStateDef execStateDef runWriterDef execWriterDef runMaybeDef runEitherDef$fMonadPlusSkeleton$fAlternativeSkeleton$fMonadErroreSkeleton$fMonadWriterwSkeleton$fMonadStatesSkeleton$fMonadReaderrSkeleton$fMonadIOSkeleton OptDescr' OptionDescroptNoArg optionNoArg optReqArg optionReqArg getOptRecord withGetOpt$fWrapperkOptionDescr$fFunctorOptionDescr訊$fIsLabelk(->)$fIsLabelkProxyNullable getNullable mapNullable coinclusionvacancywrenchretrench$fMonoidNullable$fWrapperkNullable$fShowNullable $fEqNullable $fOrdNullable$fGenericNullable$fNFDataNullable$fArbitraryNullable$fHashableNullableOneOfAllOf<%pluckbury<%| accessingIsRecord RecFieldsrecordFromList recordToListtoRecord fromRecordrecordderiveIsRecord $fIsRecord()mkField mkFieldAs decEffects decEffectSetdecEffectSuitecustomDecEffectsTangleT unTangleTlassohitchAt runTangleT evalTangleT runTangles$fMonoidTangleT$fSemigroupTangleT$fMonadTransTangleT$fFunctorTangleT$fApplicativeTangleT$fMonadTangleT BitRecord BitRecordOf BitFieldsFromBitsBitWidthfromBitstoBits TotalBitsBitProd unBitProd toBitProd fromBitProdblookupbupdate$fExtensiblekfpBitProd$fFromBitsrBitProd$fFromBitsrField$fFromBitsrConst'$fFromBitsr(,)$fFromBitsrIdentity$fFromBitsWord64Int32$fFromBitsWord64Int16$fFromBitsWord64Int8$fFromBitsWord64Word32$fFromBitsWord64Word16$fFromBitsWord64Word8$fFromBitsWord64Bool$fFromBitsWord64Word64$fFromBitsrProxy $fFromBitsr() $fShowBitProd $fEqBitProd $fOrdBitProd $fEnumBitProd$fBoundedBitProd $fIxBitProd$fGenericBitProd$fHashableBitProd$fStorableBitProdGHC.BasefmapMapSucc Remembranceghc-prim GHC.Types~~Data.Type.Equalityouterinnerapply gcastWithcastWithtranssym:~:Refl TestEquality testEquality== Data.Proxy asProxyTypeOfProxyKProxyproxyKeyGHC.STSTHProductnewDict newForDictunsafeMembershipidGHC.ListzipWithzipWith3Data.Traversablesequence ApplicativeV_ConstMV_Const V_Identity MV_Identity V_Product MV_ProducthlookupCD:R:VectorConst'0D:R:MVectorsConst'0D:R:VectorIdentity0D:R:MVectorsIdentity0 D:R:Vector:*0D:R:MVectors:*0getAssociation Associated' GHC.TypeLits symbolValV_FieldMV_FieldD:R:VectorField0D:R:MVectorsField0MonadNothing contState contWriter mtl-2.2.1-BLKBelFsPB3BoFeSWSOYj6Control.Monad.Reader.Class MonadReaderControl.Monad.State.Class MonadStateControl.Monad.Writer.Class MonadWriterControl.Monad.Trans.Except runExceptTpReaderpStatepWriterpEitherSystem.Console.GetOptOptDescr System.Exit exitFailure supplyOption extendArgtvName shape2Pat shape2Expcon2EfffromMangledGADTvarsT effectFunD effectFunT uniqueNames typeListT associateT effClause bitOffsetAt proxyBitWidth