-
-
Save benkolera/d0ee177b531925fbc5ec7a5a83b0e8c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backupLocalStorage | |
:: forall storeKeys m | |
. ( HasStorage m | |
, Monad m | |
, GCompare storeKeys | |
, UniverseSome storeKeys | |
, ForallF ToJSON storeKeys | |
, Has' ToJSON storeKeys Identity | |
, Has FromJSON storeKeys | |
, GShow storeKeys | |
) | |
=> StoreKeyMetaPrefix | |
-> Proxy storeKeys | |
-> Natural -- This version is the expectation set by the caller who has already chosen the key type | |
-> m (Maybe (DMap storeKeys Identity)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment