summaryrefslogtreecommitdiff
path: root/transfer/examples/list.tra
blob: 253c29e02fceb9934dcc1ad3d0beb953155dab98 (plain)
1
2
3
4
5
6
import prelude

l1 = append ? [1,2,3,5,6] [3]
l2 = 2 :: l1

main = rec { x = length ? l2; y = l2}