kyren / gc-arena

Incremental garbage collection from safe Rust
Creative Commons Zero v1.0 Universal
438 stars 36 forks source link

added lisp lists example #36

Open BartMassey opened 1 year ago

BartMassey commented 1 year ago

I added a reasonably comprehensive example of crate use to gc-arena. It shows some working with LISP-style lists. Hopefully this will help folks figure out how to get started. I haven't yet mentioned the example in any of the docs, but it might be a good idea.

A smaller example in the Rustdoc and README for gc-arena would also be helpful. I can provide that if desired.