Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions copilot-core/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
2026-10-20
* Fix inaccurate Haddock comment of test property. (#787)
* Clarify documentation of `Copilot.Core.Type.Struct`. (#795)

2026-11-07
* Version bump (4.8.2). (#792)
Expand Down
4 changes: 2 additions & 2 deletions copilot-core/src/Copilot/Core/Type.hs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ import GHC.TypeLits (KnownNat, KnownSymbol, Symbol, natVal, sameNat,
-- Internal imports
import Copilot.Core.Type.Array (Array)

-- | The value of that is a product or struct, defined as a constructor with
-- several fields.
-- | Types denoting products or structs, defined as a constructor with several
-- fields.
class Struct a where
-- | Returns the name of struct in the target language.
typeName :: a -> String
Expand Down
Loading