element.version === currentVersion)) { versionNodes.unshift({ version: currentVersion, url: "#" }); } document.querySelector("#project-version").innerHTML = versionNodes.reduce( (acc, element) => { const status = currentVersion === element.version ? "selected disabled" : ""; return ` ${acc} `; }, `
tulip · v0.1.0

tulip

Tulip is a simple Gleam project for adding color to your terminal output. All 256 ANSI colors are supported.

Package Version Hex Docs

gleam add tulip
import tulip

pub fn main() {
  tulip.println(213, "Hello, world!")
}

Further documentation can be found at https://hexdocs.pm/tulip.

Development

gleam run   # Run the project
gleam test  # Run the tests
gleam shell # Run an Erlang shell
Search Document