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).

الانتقال إلى التثبيت

معلومات المصدر

المستودع
neohaskell/skills
آخر نشاط في المصدر
١ يوليو ٢٠٢٦ في ١٤:٤٩
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٠
التفرعات
٠

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.