Skip to content

truqu/elm-dictset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elm-DictSet

Build Status

An Elm library for creating sets of any type

Usage

Create a set of any type, for example a record type:

import DictSet exposing (DictSet)


type alias User =
  { id : Int
  , email : String
  }
  
  
allUsers : List User
  

userSet : DictSet Int User
userSet =
  DictSet.fromList .id allUsers

Tests

To run the tests, do:

npm install
npm test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages