HORIZON HASKELLDocslts/ghc-9.14.x6d5fdfd2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 6d5fdfd · 2026-10-12

Modulevinyl-0.14.3Haskell2010

Data.Vinyl.Notation

Synopsis
  • Packagevinyl-0.14.3
  • Exports10
  • LanguageHaskell2010
  • LicenceMIT
  • SourceCore.hs
datadata Rec (a :: u -> Type) (b :: [u]) where

A record is parameterized by a universe u, an interpretation f and a list of rows rs. The labels or indices of the record are given by inhabitants of the kind u; the type of values at any label r :: u is given by its interpretation f r :: *.

Constructors

  • (:&) :: !a r -> !Rec a rs -> Rec a (r ': rs)infixr 7
Instances26RecSubset, RecElem, TestCoercion, TestEquality, Eq, Ord, …
typetype (<:) (rs :: [k]) (ss :: [k]) = rs ⊆ ss

A non-unicode equivalent of (⊆).

typetype (:~:) (rs :: [k]) (ss :: [k]) = rs ≅ ss

A non-unicode equivalent of (≅).