aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/Optimizers/EquivLambda.yqls
blob: 792976bc37ec0f0320a90f284e5a1dbf45ec7523 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(
#comment
(let config (DataSource 'config))
(let world (Configure! world config 'PureDataSource 'yt))

(let res_sink (DataSink 'result))
(let data (AsList (String 'a) (String 'a)))
(let data1 (Map data (lambda '(x) (Concat x (Concat (String '_) (String '_))))))
(let data2 (Map data (lambda '(y) (Concat y (Concat (String '_) (String '_))))))
(let data (Extend data1 data2))
(let world (Write! world res_sink (Key) data '()))
(let world (Commit! world res_sink))
(return world)
)