You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- Pierce uses t.1 for fst t, the "first projection"
snd : {A B : Set} -> A × B -> B
snd < a , b > = b
-- Pierce uses t.2 for snd t, the "second projection"
-- Pierce's evaluation rules are for "strict" pairs, evaluating the first component to a value, then the second component. When projections are computed we first compute both components of the pair, then throw one away
-- In general we can have tuples (pairs, triples, quadruples, ...)