#35. Modulate List¶
Note
Following documentation is a cooperative result combined from our Discord chat. Thanks to everyone who helped!
Image¶
This image was produced from the thirty-fifth radio transmission using previously contributed code.

Interpretation¶
Apply #13. Modulate to a list constructed with #25. Cons (or Pair) or #30. List Construction Syntax.
Decoded¶
mod cons
ap mod nil = [nil]
ap mod ap ap cons nil nil = [ap ap cons nil nil]
ap mod ap ap cons 0 nil = [ap ap cons 0 nil]
ap mod ap ap cons 1 2 = [ap ap cons 1 2]
ap mod ap ap cons 1 ap ap cons 2 nil = [ap ap cons 1 ap ap cons 2 nil]
ap mod ( 1 , 2 ) = [( 1 , 2 )]
ap mod ( 1 , ( 2 , 3 ) , 4 ) = [( 1 , ( 2 , 3 ) , 4 )]
...