Skip to content
Nippy extension to add ability to freeze and thaw Clojure fns
Clojure
Branch: master
Clone or download
Latest commit 5e36d77 Jan 6, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/com/rpl proper namespaces Jan 6, 2020
test/com/rpl proper namespaces Jan 6, 2020
.gitignore Initial commit Jan 3, 2020
CONTRIBUTING.md
LICENSE cleanup Jan 3, 2020
README.md Update README.md Jan 6, 2020
project.clj

README.md

nippy-serializable-fns

Clojars Project

A simple Clojure library that extends Nippy to allow freezing and thawing of Clojure fns. See our blog post for more discussion of this project and its implementation.

Usage

Just add a dependency on the Clojars package, require the com.rpl.nippy-serializable-fn namespace, and then use nippy/freeze! and nippy/thaw! as usual. Clojure fns will effectively be serialized as the fn name plus any values captured in the fn's closure. Note that no code is serialized, so both the freezing process and the thawing process must run the same code version!

License

Copyright © 2019 - 2020 Red Planet Labs Inc.

Distributed under the Apache Software License version 2.0

You can’t perform that action at this time.