Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/coreygirard/elm-nonemptylist exists but has no tag 1.0.0; Software Heritage has no tag 1.0.0 for it; no fork with the same repo name found; no cached copy. Use another version.
Various helper functions, perhaps too specialized for frequent use
Similar to List.Extra.uniqueBy
Similar to List.Extra.setIf
Similar to List.Extra.setAt
List.Extra.setIf meets List.Extra.updateIfIndex
Similar to List.Extra.updateIf
Similar to List.Extra.updateAt
Similar to List.Extra.updateIfIndex
Similar to List.Extra.swapAt
Similar to List.Extra.maximumBy
Similar to List.Extra.maximumWith
Similar to List.Extra.minimumBy
Similar to List.Extra.minimumWith
Similar to List.intersperse
intersperse "." (fromPair "127" [ "0", "0", "1" ])
|> toList
== [ "127", ".", "0", ".", "0", ".", "1" ]Similar to List.Extra.transpose
Similar to List.Extra.subsequences
Similar to List.Extra.permutations
Similar to List.Extra.indexedFoldl
Similar to List.Extra.indexedFoldr
Similar to List.Extra.scanl
Similar to scanl, except takes a List as input. Output is still guaranteed to be non-empty.
Similar to List.Extra.scanl1 except doesn't need to return a Maybe. The function is (a -> a -> a) though, instead of (a -> b -> b).
Similar to List.Extra.scanr
Similar to scanr, except takes a List as input. Output is still guaranteed to be non-empty.
Similar to List.Extra.scanr1 except doesn't need to return a Maybe. The function is (a -> a -> a) though, instead of (a -> b -> b).
Similar to List.Extra.mapAccuml
Similar to List.Extra.mapAccumr
Similar to List.Extra.iterate
Similar to List.Extra.initialize.
Similar to append, except taking an ordinary list as second argument.
appendList (fromPair 0 [ 1, 2 ]) [ 3, 4, 5 ]
|> toList
== [ 0, 1, 2, 3, 4, 5 ]Similar to append, except taking an ordinary list as first argument.
appendList (fromPair 0 [ 1, 2 ]) [ 3, 4, 5 ]
|> toList
== [ 0, 1, 2, 3, 4, 5 ]Similar to List.Extra.splitAt. Compare with splitAtRest.
Similar to List.Extra.splitAt. Compare with splitAtTail.
Similar to List.Extra.group.
Similar to group, but works on List.
Similar to List.Extra.groupWhile.
Similar to groupWhile, but works on List.
Similar to List.Extra.inits.
Similar to List.Extra.tails.
Similar to List.Extra.select. Output type was chosen because the output of this function is likely intended to be used as separate pieces. If output type of ListNonempty (ListNonempty a) is desired, use select >> map fromTuple.
Similar to List.Extra.selectSplit.
Similar to List.Extra.gatherEquals.
Similar to List.Extra.gatherEqualsBy.
Similar to gatherEqualsBy, except operating on List.
Similar to gatherEquals except operating on List.
Similar to List.Extra.gatherWith.
Similar to gatherWith, except operating on List.
Similar to List.Extra.frequencies.
Equivalent to List.partition. We can't have any (simple) guarantees about
the lengths of the two returned lists.
fromPair 2 [ 5, 1, 4 ]
|> partition (\n -> n > 2)
== ( [ 5, 4 ], [ 2, 1 ] )Similar to List.Extra.notMember.
Similar to List.Extra.lift2.
Similar to List.Extra.lift3.
Similar to List.Extra.lift4.
Similar to List.Extra.groupsOf.
Similar to List.Extra.groupsOfWithStep.
Similar to List.Extra.groupsOfVarying.
Similar to List.Extra.greedyGroupsOf.
Similar to List.Extra.greedyGroupsOfWithStep.
Similar to
List.Extra.unique