Skip to content

2.0.0

Compare
Choose a tag to compare
@gampleman gampleman released this 24 Feb 16:39
· 21 commits to master since this release
3598e8f

V2 is the same as the initial release, but merely removes all deprecated functions:

Array.Extra:
- apply : Array (a -> b) -> Array a -> Array b
- interweave : Array a -> Array a -> Array a

Basics.Extra:
- atLeast : comparable -> comparable -> comparable
- atMost : comparable -> comparable -> comparable
- fractionalModBy : Float -> Float -> Float
- orderBy : List (a -> a -> Order) -> a -> a -> Order
- swap : ( a, b ) -> ( b, a )
- toOrder : (a -> comparable) -> a -> a -> Order
- toOrderDesc : (a -> comparable) -> a -> a -> Order

Dict.Extra:
- fromListDedupe : (a -> a -> a) -> List ( comparable, a ) -> Dict comparable a
- fromListDedupeBy : (a -> a -> a) -> (a -> comparable) -> List a -> Dict comparable a
- insertDedupe : (v -> v -> v) -> comparable -> v -> Dict comparable v -> Dict comparable v

List.Extra:
- filterNot : (a -> Bool) -> List a -> List a

Maybe.Extra:
- traverse : (a -> Maybe b) -> List a -> Maybe (List b)
- traverseArray : (a -> Maybe b) -> Array a -> Maybe (Array b)

Result.Extra:
- singleton : a -> Result e a

Set.Extra:
- subset : Set comparable -> Set comparable -> Bool

String.Extra:
- removeAccents : String -> String

Tuple.Extra:
- sequenceFirstMaybe : ( Maybe a, b ) -> Maybe ( a, b )
- sequenceMaybe : ( Maybe a, Maybe b ) -> Maybe ( a, b )
- sequenceSecondMaybe : ( a, Maybe b ) -> Maybe ( a, b )