Skip to content

Instantly share code, notes, and snippets.

@ninjudd
Created May 15, 2012 23:19
Show Gist options
  • Select an option

  • Save ninjudd/2705925 to your computer and use it in GitHub Desktop.

Select an option

Save ninjudd/2705925 to your computer and use it in GitHub Desktop.
WrappedTransactional
(txn-wrap [this f]
(let [f (txn-wrap layer f)]
(fn [^MergeableLayer layer]
(f (.layer layer)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment