-
Notifications
You must be signed in to change notification settings - Fork 546
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: PProd and MProd syntax (part 2)
actually enables the syntax, adds a test file and updates the test output.
- Loading branch information
Showing
3 changed files
with
47 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/-- info: Bool ×ₚ Nat ×ₚ List Unit : Type -/ | ||
#guard_msgs in | ||
#check Bool ×ₚ Nat ×ₚ List Unit | ||
|
||
/-- info: Bool ×ₚ Nat ×ₚ List Unit : Type -/ | ||
#guard_msgs in | ||
#check PProd Bool (PProd Nat (List Unit)) | ||
|
||
/-- info: (Bool ×ₚ Nat) ×ₚ List Unit : Type -/ | ||
#guard_msgs in | ||
#check PProd (PProd Bool Nat) (List Unit) | ||
|
||
/-- info: Bool ×ₘ Nat ×ₘ List Unit : Type -/ | ||
#guard_msgs in | ||
#check Bool ×ₘ Nat ×ₘ List Unit | ||
|
||
/-- info: Bool ×ₘ Nat ×ₘ List Unit : Type -/ | ||
#guard_msgs in | ||
#check MProd Bool (MProd Nat (List Unit)) | ||
|
||
/-- info: (Bool ×ₘ Nat) ×ₘ List Unit : Type -/ | ||
#guard_msgs in | ||
#check MProd (MProd Bool Nat) (List Unit) | ||
|
||
/-- info: PUnit.unit : PUnit -/ | ||
#guard_msgs in | ||
#check ()ₚ | ||
|
||
/-- info: (true, 5, [()])ₚ : Bool ×ₚ Nat ×ₚ List Unit -/ | ||
#guard_msgs in | ||
#check (true, 5, [()])ₚ | ||
|
||
/-- info: (true, 5, [()])ₘ : Bool ×ₘ Nat ×ₘ List Unit -/ | ||
#guard_msgs in | ||
#check (true, 5, [()])ₘ | ||
|
||
/-- info: (true, 5, [()])ₚ : Bool ×ₚ Nat ×ₚ List Unit -/ | ||
#guard_msgs in | ||
#check PProd.mk true (PProd.mk 5 [()]) | ||
|
||
/-- info: (true, 5, [()])ₘ : Bool ×ₘ Nat ×ₘ List Unit -/ | ||
#guard_msgs in | ||
#check MProd.mk true (MProd.mk 5 [()]) | ||
|
||
/-- info: PUnit.unit.{u} : PUnit -/ | ||
#guard_msgs in | ||
#check PUnit.unit |