This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
A library for navigating and updating immutable trees.
version 1.10.2
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.10.2
Committed At 2016-11-27 20:48:11 UTC
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1



This library was created with the goal of allowing a multiway tree to be navigated and updated.

I ran into the problem when designing a tree UI control to use with The Elm Architecture. I realized that to keep track of the state in the model for things like whether a node is selected or expanded, I needed a way to update specific nodes through actions.

There will be more examples to come, but this is meant as a library to solve a piece of the puzzle, which will be used with others to create a Tree UI control

Run tests (from a cloned repo)

npm install -g elm
cd tests
elm-package install -y
elm-make Tests.elm --output tests.js
node tests.js

NOTE: elm-test Tests.elm -c elm-make.cmd might have to be used if running on Windows.