whnf actually reduces to whnf now (probably)

This commit is contained in:
rhiannon morris 2023-01-23 00:53:34 +01:00
parent f097e1c091
commit 92617a2e4a
11 changed files with 693 additions and 679 deletions

View file

@ -19,6 +19,11 @@ data DimConst = Zero | One
%runElab derive "DimConst" [Generic, Meta, Eq, Ord, DecEq, Show]
public export
pick : a -> a -> DimConst -> a
pick x y Zero = x
pick x y One = y
public export
data Dim : Nat -> Type where