on master help sign in
Consistent type variable names for fst/snd
d23c653Edwin Brady
libs/prelude/Prelude/Basics.idr+1−1
@@ -20,7 +20,7 @@ const : a -> b -> a
20const x = \v => x
20const x = \v => x
21
21
22||| Return the first element of a pair.
22||| Return the first element of a pair.
23−fst : (s, t) -> s
23+fst : (a, b) -> a
24fst (x, y) = x
24fst (x, y) = x
25
25
26||| Return the second element of a pair.
26||| Return the second element of a pair.