Skip to content

2.1.0

Latest
Compare
Choose a tag to compare
@gampleman gampleman released this 21 Sep 15:42
· 1 commit to master since this release

Highlights

We've added a brand new Triple.Extra module to match Tuple.Extra!

We've also added a number of new utility functions:

  • Dict.Extra.invertAll
  • Dict.Extra.updateIfExists
  • Dict.Extra. upsert
  • Float.Extra.equalWithin
  • Float.Extra.interpolateFrom
  • List.Extra.conditional
  • List.Extra.cons
  • Set.Extra.all
  • Set.Extra.any

Details

Full Changelog

ADDED MODULES

Triple.Extra

Dict.Extra

Added:
    invertAll :
        Dict.Dict comparable1 comparable2
        -> Dict.Dict comparable2 (Set.Set comparable1)
    updateIfExists :
        comparable
        -> (a -> a)
        -> Dict.Dict comparable a
        -> Dict.Dict comparable a
    upsert :
        comparable
        -> a
        -> (a -> a)
        -> Dict.Dict comparable a
        -> Dict.Dict comparable a

Float.Extra

Added:
    equalWithin :
        Basics.Float -> Basics.Float -> Basics.Float -> Basics.Bool
    interpolateFrom :
        Basics.Float -> Basics.Float -> Basics.Float -> Basics.Float

List.Extra

Added:
    conditional : List.List ( a, Basics.Bool ) -> List.List a
    cons : ( a, List.List a ) -> List.List a

Set.Extra

Added:
    all : (a -> Basics.Bool) -> Set.Set a -> Basics.Bool
    any : (a -> Basics.Bool) -> Set.Set a -> Basics.Bool