GALA Documentation

Welcome to the GALA documentation hub. Here you will find everything you need to learn and use GALA effectively.

Core Language

Topic Description
Sealed Types Define closed type hierarchies with exhaustive compile-time checking
Pattern Matching Destructure values, apply guards, and produce expression results
Immutability val bindings, immutable struct fields, Copy(), and ConstPtr[T]
Error Handling Composable Option[T], Either[A,B], and Try[T] monads
GALA vs Go Side-by-side comparison with idiomatic Go code

Standard Library

Topic Description
Collections Immutable List, Array, HashMap, HashSet, TreeSet, TreeMap and their mutable variants
Concurrency Future[T], Promise[T], ExecutionContext, Await, and Zip
Go Interop Import and use any Go package, type, or function directly from GALA

Guides

Topic Description
Getting Started Installation, project setup, and writing your first GALA program
Playground Try GALA in your browser – no installation required
GitHub Repository Source code, issue tracker, and release downloads

Showcase Projects

Project Description
GALA Playground Web-based playground – try it live
State Machine Example State machines with sealed types and pattern matching
Log Analyzer Structured log parsing with Go stdlib interop and functional pipelines
GALA Server Immutable HTTP server library with builder-pattern configuration