Pair constructs a pair constant. Parts can only be accessed in transforms.
(fst, snd *Constant)
| 338 | |
| 339 | // Pair constructs a pair constant. Parts can only be accessed in transforms. |
| 340 | func Pair(fst, snd *Constant) Constant { |
| 341 | return pair(PairShape, fst, snd) |
| 342 | } |
| 343 | |
| 344 | // ListCons constructs a list, using pairs. Parts can only be accessed in transforms. |
| 345 | func ListCons(fst, snd *Constant) Constant { |