eX~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~Monad for ACID event handlers. <ACID computations that work with any state and event types.       A saver that bunches writes.   Just to avoid a dependency.  3Use a proxy to force the type of an update action. 1Use a proxy to force the type of a query action. Currying version of . Currying version of . Specialized version of   Specialized version of   Specialized version of  . Lift an STM action into Ev. "Select a part of the environment. QRun a computation with local state. Changes to state will be visible to outside. $Run a computation with local state. !,Execute a Query action in the Update monad.  ! !"Get a random number. #&Get a random number inside the range. $&Infer updating functions for a record &a_foo :: component -> record -> record and  withFoo = localState foo a_foo. 3Create a list of selection functions for a record. 0Create a list of update functions for a record. Return field names Simple definition "#$"#$**In order to be used as a part of Happstack's MACID state, a data type C needs to be an instance of Component. The minimal definition is H an initialValue and the type corresponding to the set of Dependencies. F Note that the SubHandlers condition will be automatically met if the  Dependencies is built from <; and ':+:' with other instances of  Component and Methods .State type -> all versions /State type -> method map 2KClass for enumerating the set of defined methods by the type of the state. 5 Instances should not be defined directly, but using  mkMethods 9AType level Cons for enumerating type dependencies of a Component ;Equivalent of []9 for type level lists. Used for Components that have no  dependencies =Displays the type of a Method %&'()*+,-./0123456789:;<=>?@A;<9:87465=2301/.*+,-()&'>%?@A%&''())*+,-+,-./01123346556789::;<<=>?@ABGThis function will derive, for the provided type name and the provided L list of methods, an instance of Methods for the given type and necessary Q instance of UpdateEvent and QueryEvent to make the provided list of functions  into Methods. M This TH splice needs to be executed for any MACID state type in order to 9 have the necessary code for event handling generated.  Ex:  $(mkMethods ''Foo [' fooUpdate,fooQuery]) BBBEEnable queueing. FKA saver that operates on files. The parameter is the prefix for the files. ! Creates the prefix directory. G!A saver that discards all output  CDEFGHI  CGFEDHICGFEDDEFGHIZSaver given by the user. \Types of each component used. ](Map listing all versions of a component a-Perform checkpoint at least every N seconds. c@Number of active nodes in the cluster (not counting this node). e2Commits per second. Only applies to cluster mode. OSchedule an update and wait for it to complete. When this function returns, you're + guaranteed the update will be persistent. ,Emit a state query and wait for the result. fJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~fJKLMNOPQR~|}z{yxvwtursqnpomlhijkgf_`abcdeXYZ[\]^VWSUTfJKLMNOPPQRRSUTTUVWWXYZ[\]^YZ[\]^_`abcde`abcdefghijkijklmnpoopqrsstuuvwwxyz{{|}}~CConnects the Happstack process to the local running spread daemon. . The spread daemon must already be running. @This function modifies any event handlers in the given EventMap H to make them route the update information to the rest of the cluster Starts a new TxControl Saves and ends the TxControl 5Load state from disk and re-run any needed events to : fully restore the state. The returned function enables  event logging. 6Load a map from component types to serialized states. 3Creates a checkpoint using the provided TxControl. M This checkpoint may be used as a safe state with which to start the system, N e.g. one may delete all the serialized events that took place after the last A checkpoint and start the application fresh from the checkpoint. H Calling this function manually is the only way to create checkpoints. KRun the MACID system without multimaster support and with the given Saver. ERun the MACID system with multimaster support turned on if the first  argument is True.  Shuts down a transaction system NStarts the MACID system without multimaster support. Uses the default Saver. KStarts the MACID system with multimaster support. Uses the default Saver. Returns the default Saver. Wait for a signal. B On unix, a signal is sigINT or sigTERM. On windows, the signal  is entering e. y !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGLMNX_`abcde~7X_`abcdeCGFED !NLM~"#$  !"# $ % & ' ( ) * + , - . / 0 1 2 34567889:;<=>?@AABCDEFGGHHIJKLMNOPQRSTUVWXYZ[[\\]^_``aabcdefgghijklmnoopqrstuvwxxyyzz{|}}~~-    happstack-state-0.2.1Happstack.StateHappstack.State.SaverHappstack.State.ComponentSystemHappstack.State.ComponentTHHappstack.State.TransactionHappstack.State.ControlHappstack.State.TypesHappstack.State.Saver.Types Happstack.State.Saver.Impl.Queue!Happstack.State.Saver.Impl.MemoryHappstack.State.Saver.Impl.FileHappstack.State.Monad mtl-1.1.0.2Control.Monad.Reader.ClassControl.Monad.State.ClassHappstack.State.UtilHappstack.State.SpreadHappstack.State.CheckpointHappstack.State.TxControlUpdateQueryEvAnyEv EpochMilliTxId unsafeIOToEv WriterStream writerClose writerAddwriterAtomicReplace writerCut ReaderStream readerClose readerGetreaderGetUncutCatchEvcatchEv setUpdateType proxyUpdate setQueryType proxyQueryasUpdateasQueryaskStategetStateputStateliftSTMsel localStatelocalStateReaderrunQuery getRandom getRandomRinferRecordUpdatersCollect Collection SubHandlers subHandlers Component Dependencies initialValueonLoadComponentVersions ComponentTree MethodMapMethodsmethodsMethod QueryEvent UpdateEvent:+:End methodTypeaddItemcollectHandlerscollectHandlers'dup mkMethodsSaverMemoryQueue FileSaver NullSaver createReader createWriter ExceptionTlogMTgetTimegetEventClockTime getEventIdGetCheckpointStateSetCheckpointState OperationMode ClusterMode SingleMode EventLogEntry TxControlctlSaver ctlEventSaverctlAllComponentsctlComponentVersions ctlChildrenTxConfigtxcCheckpointSecondstxcOperationModetxcClusterSizetxcClusterPorttxcCommitFrequency EvLoaders EvLoaders'TxRuntxProcessQueuetxLastTxContext ProcessQueue EventQueueResErrorOk RunHandlerHRIHREventEHRunnerGetState SetNewState EventItem eventContext eventData EmitInternalEventMap EventHandler QueryHandler UpdateHandler TypeStringemitRefemitFunc emitEvent' emitEventsetNewEventMapeventStreamRefinitEventStream pushEventItemgetEventStreamcreateEventMap extraEvents allStateTypescomponentVersions componentIOcreateNewTxRunsetNewStateType getStateType setNewStateupdatequery quickQuery'setEvLoadersQueuerunObjectEventrunObjectEventFunc runColdEventrunColdEventFunclookupEventHandler eventTString handleEvent handleQuery handleUpdate checkDiff getEpochMilli newTxContextaddTxIdglobalRandomGen nullTxConfig runTxLoopcloseTxControlcreateCheckpoint runTxSystem runTxSystem'shutdownSystemstartSystemStatestartSystemStateMultimasterstdSaverwaitForTerminationUsingXmlunXmlShadowunShadowunEv TxContexttxIdtxRandtxTimetxStdGenEnv evRandoms evContextintegralRandomR unsafeSTMToEv unsafeIOToSTM queueWriter queueReaderStorenewMemoryStore memoryReader memoryWriterparseAll addToStoresetStoreatomicWriteFile fileReader fileWriteraskgetputselFunsupdFuns fieldNamessdefconnectToClusterchangeEventMappingcreateTxControl restoreStateloadCheckpointshappstack-data-0.2.1Happstack.Data.SerializeTHderiveSerializeForderiveSerializeHappstack.Data.SerializemkObject parseObjectdeserializeObjectcollectVersions deserialize serializesafeGetsafePut extensioncontain Contained Primitive VersionedModemodeVersionputCopygetCopy Serialize objectTypeObjectHappstack.Data.Proxy asProxyTypeunProxyproxydataType[a63C] constr[a63D]ProxyHappstack.Data.MigratemigrateMigrate