HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

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

  • (:&) :: !f r -> !Rec f 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 (≅).