Skip to content

Instantly share code, notes, and snippets.

@semorrison
Created April 23, 2024 00:25
Show Gist options
  • Save semorrison/892cdd8242d2e4a15a74ad37fdd14d30 to your computer and use it in GitHub Desktop.
Save semorrison/892cdd8242d2e4a15a74ad37fdd14d30 to your computer and use it in GitHub Desktop.
Contents of List/Basic
* `mapIdx` / `mapIdxM`
* `findIdx` / `findIdx?`
* `indexOf`
* `List.Subset`
* `List.bagInter`
* `List.diff`
* `List.tail`
* `List.next?`
* `after`
* `insertNth` / `removeNth` / `modifyNth` / `modifyNthTail` / `modifyHead` / `modifyLast`
* `replaceF`
* `union` / `inter`
* `Sublist` / `isSublist`
* `splitAt` / `splitAtD` / `splitOnP` / `splitOn`
* `takeD`
* `leftpad`
* `scanl` / `scanr`
* `foldlIdx` / `foldrIdx`
* `findIdx?` / indexOf?` / `findIdxs` / `indexesValues`
* `lookmap`
* `countP` / `count`
* `IsPrefix` / `IsSuffix`
* `inits` / `tails` / `sublists`
* `Forall₂` / `all₂`
* `transpose` / `sections`
* `eraseP`
* `extractP`
* `revzip`
* `product`
* `sigma`
* `ofFn`
* `Disjoint`
* `takeWhile₂`
* `Pairwise`
* `pwFilter`
* `Chain`
* `Nodup` / `eraseDup`
* `reduceOption`
* `rotate`
* `mapDiagM`
* `getRest`
* `dropSlice`
* `zipWithLeft` / `zipWithRight` / `zipLeft` / `zipRight`
* `allSome` / `fillNones`
* `takeList`
* `toChunks`
* `zipWith₃` / `zipWith₄` / `zipWith₅`
* `mapWithPrefixSuffix` / `mapWithComplement`
* `traverse`
* `Perm` / `isPerm` / `Subperm` / `isSubperm`
* `merge`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment