Skip to content

Releases: elm-community/list-extra

Add splitWhen

06 May 20:28
Compare
Choose a tag to compare
6.1.0

6.1.0 - add splitWhen

Remove singleton

25 Jan 04:42
Compare
Choose a tag to compare

This makes us compatible with core versions 5.1.0 and 5.1.1, which added this function to the core library.

5.0.1

09 Jan 06:38
Compare
Choose a tag to compare
  • Fix the example for andMap.
  • Use tail-call optimization to prevent stack overflows in takeWhile.

5.0.0

25 Dec 22:59
Compare
Choose a tag to compare

Breaking changes:

  • andMap has its arguments flipped for easier use with |> pipes.

Other changes:

  • Make isPrefixOf non-symmetrical #22
  • isInfixOf always return True #28

4.0.0

03 Nov 21:01
Compare
Choose a tag to compare

Breaking Changes:

  • Upgrade to Elm 0.18. Thanks @stil4m for this upgrade.

Additions:

  • allDifferent : List comparable -> Bool, indicate if list has duplicate values. Thanks @skitoo for this addition.
  • allDifferentBy : (a -> comparable) -> List a -> Bool, indicate if list has duplicate values when supplied function are applyed on each values. Thanks @skitoo for this addition.
  • groupsOfVarying : List Int -> List a -> List (List a), Thanks @patrickdet for this addition.
  • stableSortWith : (a -> a -> Basics.Order) -> List a -> List a, Similar to List.sortWith, but is guaranteed to be a stable sort. Thanks @z5h for this addition.
  • swapAt : Int -> Int -> List a -> Maybe.Maybe (List a), swap two values in a list by index. Thanks @roSievers for this addition.