mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 21:40:43 +00:00
c5477d522d
* First cut of strict mode Co-authored-by: Lily Brown <lily@lily.fyi>
14 lines
230 B
Agda
14 lines
230 B
Agda
module Properties.Product where
|
||
|
||
infixr 5 _×_ _,_
|
||
|
||
record Σ {A : Set} (B : A → Set) : Set where
|
||
|
||
constructor _,_
|
||
field fst : A
|
||
field snd : B fst
|
||
|
||
open Σ public
|
||
|
||
_×_ : Set → Set → Set
|
||
A × B = Σ (λ (a : A) → B)
|