2023-11-10 22:19:06 +03:00
|
|
|
---
|
|
|
|
source: tests/golden_tests.rs
|
2024-05-15 01:25:46 +03:00
|
|
|
input_file: tests/golden_tests/encode_pattern_match/weekday.bend
|
2023-11-10 22:19:06 +03:00
|
|
|
---
|
2024-05-18 15:01:20 +03:00
|
|
|
Scott
|
2024-05-10 22:42:32 +03:00
|
|
|
(main) = (λa a Weekday/Saturday)
|
2024-02-07 18:19:07 +03:00
|
|
|
|
2024-05-10 22:42:32 +03:00
|
|
|
(Weekday/Monday) = λa λ* λ* λ* λ* λ* λ* a
|
2024-02-07 18:19:07 +03:00
|
|
|
|
2024-05-10 22:42:32 +03:00
|
|
|
(Weekday/Tuesday) = λ* λb λ* λ* λ* λ* λ* b
|
2024-02-07 18:19:07 +03:00
|
|
|
|
2024-05-10 22:42:32 +03:00
|
|
|
(Weekday/Wednesday) = λ* λ* λc λ* λ* λ* λ* c
|
2024-02-07 18:19:07 +03:00
|
|
|
|
2024-05-10 22:42:32 +03:00
|
|
|
(Weekday/Thursday) = λ* λ* λ* λd λ* λ* λ* d
|
2024-02-07 18:19:07 +03:00
|
|
|
|
2024-05-10 22:42:32 +03:00
|
|
|
(Weekday/Friday) = λ* λ* λ* λ* λe λ* λ* e
|
2024-02-07 18:19:07 +03:00
|
|
|
|
2024-05-10 22:42:32 +03:00
|
|
|
(Weekday/Saturday) = λ* λ* λ* λ* λ* λf λ* f
|
2024-02-07 18:19:07 +03:00
|
|
|
|
2024-05-10 22:42:32 +03:00
|
|
|
(Weekday/Sunday) = λ* λ* λ* λ* λ* λ* λg g
|
2024-05-18 15:01:20 +03:00
|
|
|
|
|
|
|
NumScott
|
|
|
|
(main) = (λa a Weekday/Saturday)
|
|
|
|
|
2024-05-27 21:09:23 +03:00
|
|
|
(Weekday/Monday) = λa (a Weekday/Monday/tag)
|
2024-05-18 15:01:20 +03:00
|
|
|
|
2024-05-27 21:09:23 +03:00
|
|
|
(Weekday/Tuesday) = λa (a Weekday/Tuesday/tag)
|
2024-05-18 15:01:20 +03:00
|
|
|
|
2024-05-27 21:09:23 +03:00
|
|
|
(Weekday/Wednesday) = λa (a Weekday/Wednesday/tag)
|
2024-05-18 15:01:20 +03:00
|
|
|
|
2024-05-27 21:09:23 +03:00
|
|
|
(Weekday/Thursday) = λa (a Weekday/Thursday/tag)
|
2024-05-18 15:01:20 +03:00
|
|
|
|
2024-05-27 21:09:23 +03:00
|
|
|
(Weekday/Friday) = λa (a Weekday/Friday/tag)
|
2024-05-18 15:01:20 +03:00
|
|
|
|
2024-05-27 21:09:23 +03:00
|
|
|
(Weekday/Saturday) = λa (a Weekday/Saturday/tag)
|
2024-05-18 15:01:20 +03:00
|
|
|
|
2024-05-27 21:09:23 +03:00
|
|
|
(Weekday/Sunday) = λa (a Weekday/Sunday/tag)
|
|
|
|
|
|
|
|
(Weekday/Monday/tag) = 0
|
|
|
|
|
|
|
|
(Weekday/Tuesday/tag) = 1
|
|
|
|
|
|
|
|
(Weekday/Wednesday/tag) = 2
|
|
|
|
|
|
|
|
(Weekday/Thursday/tag) = 3
|
|
|
|
|
|
|
|
(Weekday/Friday/tag) = 4
|
|
|
|
|
|
|
|
(Weekday/Saturday/tag) = 5
|
|
|
|
|
|
|
|
(Weekday/Sunday/tag) = 6
|