Skip to main content

neohaskell-effects-and-errors

The NeoHaskell EFFECTS and ERROR-HANDLING cheatsheet: Task err value (error type first) with Task.yield / throw / andThen / runOrPanic and Task.fromIO as the IO-to-Task bridge; Result with Ok/Err; Maybe with withDefault/andThen; do-let instead of let-in or where; and the fmt quasi-quoter with #{} interpolation in an effectful context. Use whenever a Haskell reflex reaches for IO, pure/return, Either/Left/Right, let-in/where, do-block sequencing of effects, error recovery/fallback, or converting IO to Task. Do NOT use for Array/Map/Text/Set combinators (neohaskell-collections), the import-Core header or bare operator table (neohaskell-core-prelude), record/JSON instances (neohaskell-records-and- json), or designing typed error ADTs as domain value objects from a failing test (neohaskell-domain-modeling designs the type; this skill wires it through Task/Result).

Aller à l'installation

Informations de source

Dépôt
neohaskell/skills
Dernière activité de la source
1 juillet 2026 à 14:49
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.