# Does (guile) scheme have persistent data structures?

**URL:** <https://forum.systemcrafters.net/t/does-guile-scheme-have-persistent-data-structures/943>\
**Category:** Scheme\
**Tags:** guile\
**Created:** [August 25, 2024, 11:29am UTC](https://forum.systemcrafters.net/t/does-guile-scheme-have-persistent-data-structures/943 "2024-08-25T11:29:12Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![riley](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@riley](https://forum.systemcrafters.net/u/riley)\
**Post date:** [July 29, 2026, 9:42pm UTC](https://forum.systemcrafters.net/t/does-guile-scheme-have-persistent-data-structures/943/7 "2026-07-29T21:42:18Z")

</div>

The old-school way to do this is to use linked lists for sequential data and sets, and alists (association lists, list of key-value pairs) for hash-maps. These do not have the correct performance characteristics, but are functional, and, for small data, they are good enough.

You can wrap these in structs to provide a clojure-like interface in the meantime before you can get your hands on proper persistent data structures. Fortunately, there’s a lot of implementations of radix tries, relaxed radix tries, hash array mapped tries, and friends in both scheme and C and C++.

---

_[View the full topic](https://forum.systemcrafters.net/t/does-guile-scheme-have-persistent-data-structures/943)._
