Algae v0.12.2 Algae.Id View Source
The simplest ADT: a simple wrapper for some data
Examples
%Algae.Id{id: "hi!"}
Link to this section Summary
Link to this section Types
Link to this section Functions
A value wrapped in an Id
struct.
Examples
iex> id("Bourne")
%Algae.Id{id: "Bourne"}
iex> 42 |> id()
%Algae.Id{id: 42}