### Gond Run Examples Command Source: https://github.com/inoas/gleam-gond/blob/main/README.md Shows how to clone the Gond repository and run the provided examples. ```shell git clone https://github.com/inoas/gleam-gond.git bin/run-examples ``` -------------------------------- ### Gond Installation Source: https://github.com/inoas/gleam-gond/blob/main/README.md Provides the command to add the Gond library to a Gleam project using the gleam add command. ```shell gleam add gond@2 ``` -------------------------------- ### Gond Conditional Expression Example Source: https://github.com/inoas/gleam-gond/blob/main/README.md Demonstrates the usage of Gond's conditional expression with various branches, including 'when' and 'fact' conditions, and 'run' or 'yield' actions. It showcases how to define a sequence of checks and their associated outcomes. ```gleam import gleam/int import gond.{cond, fact, run, when, yield} fn example() { cond( branches: [ when(fn() { int.random(3) == 1 }) |> run(fn() { "Heads!" }), fact(int.random(3) == 2) |> run(fn() { "Tails!" }), when(fn() { True }) |> yield("This always occurs!"), fact(False) |> yield("This is never the fact!"), ], default: fn() { "Lost the coin?" }, ) } pub fn main() { echo example() } ``` -------------------------------- ### Gond Project Development Commands Source: https://github.com/inoas/gleam-gond/blob/main/README.md Lists the essential commands for developing the Gond project, including running the project and executing tests. ```shell gleam run # Run the project gleam test # Run the tests ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.