Bend/tests/snapshots/encode_pattern_match__ntup_sum.bend.snap
2024-05-20 14:47:50 +02:00

14 lines
326 B
Plaintext

---
source: tests/golden_tests.rs
input_file: tests/golden_tests/encode_pattern_match/ntup_sum.bend
---
Scott
(ntupSum) = λa let (b, c, d, e, f) = a; (+ b (+ c (+ d (+ e f))))
(main) = (ntupSum (1, 3, 3, 2, 1))
NumScott
(ntupSum) = λa let (b, c, d, e, f) = a; (+ b (+ c (+ d (+ e f))))
(main) = (ntupSum (1, 3, 3, 2, 1))