No slash command · from haskell-tasuke
Haskell language extension and language edition (GHC2024/GHC2021) selection policy. Use when configuring or reviewing Haskell language extensions, cabal default-extensions, or default-language.
Ships in haskell-tasuke. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Haskellの言語拡張と、 言語拡張のセットである言語バージョンの選択方針について説明します。
Haskellの言語バージョンは使える場合はGHC2024を使用します。
使えない場合はGHC2021を使用します。
GHC2024で有効になっていなくても、
比較的安全で有用な言語拡張は有効にします。
BangPatternsBinaryLiteralsConstrainedClassMethodsConstraintKindsDeriveDataTypeableDeriveFoldableDeriveFunctorDeriveGenericDeriveLiftDeriveTraversableDoAndIfThenElseEmptyCaseEmptyDataDeclsEmptyDataDerivingExistentialQuantificationExplicitForAllFieldSelectorsFlexibleContextsFlexibleInstancesForeignFunctionInterfaceGADTSyntaxGeneralisedNewtypeDerivingHexFloatLiteralsImplicitPreludeImplicitStagePersistenceImportQualifiedPostInstanceSigsKindSignaturesMonomorphismRestrictionMultiParamTypeClassesNamedFieldPunsNamedWildCardsNoExplicitNamespacesNumericUnderscoresPatternGuardsPolyKindsPostfixOperatorsRankNTypesRelaxedPolyRecScopedTypeVariablesStandaloneDerivingStandaloneKindSignaturesStarIsTypeTraditionalRecordSyntaxTupleSectionsTypeApplicationsTypeOperatorsTypeSynonymInstances上のGHC2021に加えて、
以下の拡張がGHC2024に含まれています。
DataKindsDerivingStrategiesDisambiguateRecordFieldsExplicitNamespacesGADTsLambdaCaseRoleAnnotations典型的なcabalファイルでの言語バージョンと言語拡張の設定は以下のようになります。
default-language: GHC2024
default-extensions:
ApplicativeDo
BlockArguments
CPP
DefaultSignatures
DerivingVia
DuplicateRecordFields
FunctionalDependencies
LexicalNegation
LinearTypes
MonadComprehensions
MultiWayIf
NegativeLiterals
NoFieldSelectors
NoImplicitPrelude
OverloadedLabels
OverloadedRecordDot
OverloadedStrings
ParallelListComp
PatternSynonyms
QualifiedDo
QuantifiedConstraints
QuasiQuotes
RecordWildCards
RecursiveDo
StrictData
TemplateHaskell
TypeData
TypeFamilies
TypeFamilyDependencies
ViewPatterns
各言語拡張を、
かの個別の方針と理由はreference.mdを参照してください。
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub ncaq/konoka --plugin haskell-tasuke19 skills in this plugin
/bracketUse bracket or with-style functions to guarantee resource cleanup even on exceptions instead of separate do blocks. Use when writing or reviewing Haskell code that acquires and releases resources./bump-cabal-index-stateUpdate Cabal project index-state to the latest timestamp. Use when it needs to bump the cabal index-state./cabal-commandUse cabal with --disable-optimization for development builds and tests, and add --enable-tests to avoid rebuilds. Use when running or suggesting cabal build or test commands in Haskell development./exceptionDo not throw exceptions from pure code with error or throw, give exceptions structured types, and never silently swallow errors in IO. Use when writing or reviewing Haskell error handling, exceptions, or IO code./exportExplicitly enumerate Haskell module exports instead of exporting everything implicitly, and use re-export sparingly. Use when writing or reviewing Haskell module export lists./function-resultDo not discard a function's final value with return (), pure (), or void; adjust the type to return the value and let the caller discard it when unneeded. Use when writing or reviewing Haskell functions that return unit or discard results.