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
- effects-system-guide — Algebraic effects, dependency injection, custom control flow
- logic-programming-guide — Backtracking, logic programming, constraint solving with cloneable continuations
- checkpointing-guide — Cloneable continuations for persistent workflows and checkpointing
- serializable-continuations-guide — Serializable continuations for persistent workflows and cross-process computation
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
- error-handling-guide — Try/catch, exception types
Tutorials and Examples
- minikanren-tutorial — Logic programming with miniKanren
- cellular-automata-comonad-tutorial — Cellular automata with comonads
- custom-effects-tutorial — Writing custom effects
- snake-game-tutorial — Building the snake game example
Reference
- test-runner-contract — Test framework API and contract