Skip to main content

neohaskell-records-and-json

The NeoHaskell RECORDS and JSON cheatsheet: the 'data X = X { ... } deriving (Generic)' pattern, EMPTY 'instance Json.FromJSON X' / 'instance Json.ToJSON X' (never deriving/TH/anyclass, never hand-written toJSON/parseJSON), 'instance ToSchema X' on query read models only, dot-access (rec.field) under NoFieldSelectors instead of selector-as- function (field rec), and 'import Json qualified' instead of 'import Data.Aeson'. Use when defining a record, adding JSON serialization, or reviewing code for vanilla-Aeson or field-selector reflexes. Do NOT use for the full backward-compatible ADD-A-FIELD-to-an- existing-entity operation with a snapshot-tolerant decoder (expand-entity owns that), Array/Map/Text ops (neohaskell-collections), the import-Core header/operators (neohaskell- core-prelude), or designing domain value objects (neohaskell-domain-modeling). Load before implement-event-and-update-entity, expand-entity, implement-command, and implement-query.

インストールへ移動

ソース情報

リポジトリ
neohaskell/skills
ソースの最終更新活動
2026年7月1日 22:02
検出された SKILL.md の言語
英語
スター
0
フォーク
0

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。