on master help sign in
Fix dependent pair names in reg030.
5c9ffdaMatus Tejiscak
libs/prelude/Builtins.idr+1−1
@@ -47,7 +47,7 @@ data LazyType = LazyCodata | LazyEval
47data Lazy' : LazyType -> Type -> Type where
47data Lazy' : LazyType -> Type -> Type where
48 ||| A delayed computation.
48 ||| A delayed computation.
49 |||
49 |||
50− |||Delay is inserted automatically by the elaborator where necessary.
50+ ||| Delay is inserted automatically by the elaborator where necessary.
51 |||
51 |||
52 ||| Note that compiled code gives `Delay` special semantics.
52 ||| Note that compiled code gives `Delay` special semantics.
53 ||| @ t whether this is laziness from codata or normal lazy evaluation
53 ||| @ t whether this is laziness from codata or normal lazy evaluation
test/reg030/reg030.idr+1−1
@@ -8,7 +8,7 @@ isSubsetOf {univ} a b = (c : univ) -> (member c a) -> (member c b)
8
8
9class Set univ => HasPower univ where
9class Set univ => HasPower univ where
10 Powerset : (a : univ) ->
10 Powerset : (a : univ) ->
11− Exists univ (\Pa => (c : univ) ->
11+ Pair univ (\Pa => (c : univ) ->
12 (isSubsetOf c a) -> member c Pa)
12 (isSubsetOf c a) -> member c Pa)
13
13
14powerset : HasPower univ => univ -> univ
14powerset : HasPower univ => univ -> univ