packages feed

Cabal revisions of generic-labels-0.1.0.1

Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.

revision 1
 cabal-version: 3.0
 name:          generic-labels
 version:       0.1.0.1
+x-revision: 1
 author:        Sam Derbyshire
 maintainer:    Sam Derbyshire
 build-type:    Simple
   @
     data IBXD x = IBXD { i :: Int, b :: Bool, x :: x, d :: Double }
       deriving stock Generic
-    data XI x = XI { x :: c, i :: Int }
+    data XI x = XI { x :: x, i :: Int }
       deriving stock Generic
+  @
+
+  @
+    ibxd_to_xi :: IBXD x -> XI x
+    ibxd_to_xi = project
   @
   
   Plug in a subset of fields using @inject@: