Guides

Tutorials, how-tos, and in-depth feature guides for Turmeric

Concurrency and Async

  • threading-guide — OS threads, `Arc`, `Mutex`, `Atomic`, channels
  • async-await-guide — Async/await with fibers and delimited continuations
  • stm-guide — Software transactional memory — API reference and mechanics
  • stm-tutorial — STM tutorial: concepts, patterns, and worked examples

Advanced Control Flow

Data Structures

  • hamt-guide — Persistent hash maps with structural sharing (HAMT)

Language Features

  • hkt-guide — Higher-kinded types (functor, monad, applicative abstractions, performance/dispatch model)
  • module-system-guide — Module system, namespacing, exports
  • c-integration-guide — Foreign function interface (FFI) and C interop

Error Handling

Tutorials and Examples

Reference