summaryrefslogtreecommitdiff
path: root/test/files/run/t6448.check
blob: 94015683190a47e8db2cab740b586caad8889a83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
=List.collect=
f(1)
f(2)
List(1)

=List.collectFirst=
f(1)
Some(1)

=Option.collect=
f(1)
Some(1)

=Option.collect=
f(2)
None

=Stream.collect=
f(1)
f(2)
List(1)

=Stream.collectFirst=
f(1)
Some(1)

=ParVector.collect=
(ParVector(1),2)

=ParArray.collect=
(ParArray(1),2)