Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/noredink/elm-simple-fuzzy

http://package.elm-lang.org/packages/NoRedInk/elm-simple-fuzzy/latest
https://github.com/noredink/elm-simple-fuzzy

Last synced: about 2 months ago
JSON representation

http://package.elm-lang.org/packages/NoRedInk/elm-simple-fuzzy/latest

Awesome Lists containing this project

README

        

# Simple package for filtering strings.

## Example

```elm

filterSomeObjects =
let
languages =
[ { name = "Elm" }
, { name = "Ruby" }
, { name = "Rust" }
, { name = "Haskell" }
, { name = "javascript" }
, { name = "English" }
]
in
Simple.Fuzzy.filter .name "el" languages
```

gives:

```elm

[ { name = "Elm" }
, { name = "Haskell"}
, { name = "English"}
]

```