Skip to content

Nippy extension to freeze and thaw Clojure functions, including anonymous ones

License

Notifications You must be signed in to change notification settings

redplanetlabs/nippy-serializable-fns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nippy-serializable-fns

Clojars Project

A simple Clojure library that extends Nippy to allow freezing and thawing of Clojure functions. 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 functions 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 - 2023 Red Planet Labs Inc.

Distributed under the Apache Software License version 2.0

About

Nippy extension to freeze and thaw Clojure functions, including anonymous ones

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published