Skip to content

Instantly share code, notes, and snippets.

@voidlizard
Created November 24, 2023 12:52
Show Gist options
  • Save voidlizard/38fc64e99430e7d770dd38acd14c1487 to your computer and use it in GitHub Desktop.
Save voidlizard/38fc64e99430e7d770dd38acd14c1487 to your computer and use it in GitHub Desktop.
withState do
transactional do
sz <- getDataSizeFromMeta
ref <- getStateRefFromMeta
withState $ insertProcessed htx
rdb <- withState (selectRank rv)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment