serokell-util-0.1.2.4: General-purpose functions by Serokell

Safe HaskellNone
LanguageHaskell2010

Serokell.AcidState.Instances

Contents

Description

Helper instances for Acid State to remove boilerplate and introduce redundant instances for other data types.

Synopsis

Documentation

Orphan instances

MonadThrow (Update s) Source # 

Methods

throwM :: Exception e => e -> Update s a #

MonadThrow (Query s) Source #

Usually Queries shouldn't throw anything. This is a dirty hack.

Methods

throwM :: Exception e => e -> Query s a #

(Eq a, Hashable a, SafeCopy a) => SafeCopy (HashSet a) Source # 
(Eq a, Hashable a, SafeCopy a, SafeCopy b) => SafeCopy (HashMap a b) Source #