stoeffel / resetable

Home Page:http://package.elm-lang.org/packages/stoeffel/resetable/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Resetable

A datastructure that allows you to reset its value to an original value.

Resetable.init "lea"
    |> Resetable.map String.toUpper
    |> Resetable.value
--> "LEA"

Resetable.init "luke"
    |> Resetable.map String.toUpper
    |> Resetable.reset
    |> Resetable.value
--> "luke"

Installation

elm install stoeffel/resetable

Tests

Install packages: npm install -g elm-test elm-verify-examples

Execute tests: elm-verify-examples && elm-test

About

http://package.elm-lang.org/packages/stoeffel/resetable/latest

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Elm 83.9%Language:Nix 14.8%Language:Makefile 1.3%