Packages

A functional optics library. Create and compose lenses to view, set, and modify data inside arbitrarily nested maps, lists, and tuples.

Current section

Files

Jump to
focus lib user.ex
Raw

lib/user.ex

defmodule User do
defstruct [:name, :age]
end
defmodule Cat do
defstruct [:name, :age]
end