Skip to main content

neohaskell-collections

The NeoHaskell COLLECTIONS cheatsheet for concrete data-structure operations: Array (no filter — use takeIf/dropIf; get returns Maybe; foldl is element-first left fold for replays), Map (set/get/contains/remove; reduce takes acc first), Text (split/joinWith/replace/trim and #{} interpolation as a TEXT operation), and Set (import explicitly — not in Core). Use when writing code that needs sequences, key-value lookups, text manipulation, or sets, or when reaching for a vanilla reflex like arr !! i, head, Map.insert, Map.lookup, Map.member, or Array.filter — all wrong here. Do NOT use for the import-Core header, bare operators, or the fmt syntax itself (neohaskell-core-prelude), for Task/Result/Maybe error handling and lifting Maybe into Task/Result (neohaskell- effects-and-errors), or for JSON serialization of records (neohaskell-records-and-json).

Aller à l'installation

Informations de source

Dépôt
neohaskell/skills
Dernière activité de la source
3 juillet 2026 à 11:07
Langue détectée de SKILL.md
anglais
Étoiles
0
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.