diff --git a/SPEC.md b/SPEC.md index 2a4884d..e3f0739 100644 --- a/SPEC.md +++ b/SPEC.md @@ -1912,7 +1912,7 @@ Both tasks and workflows have a typed inputs that must be satisfied in order to :pig2: [Cromwell supported](https://github.com/broadinstitute/cromwell#wdl-support) :white_check_mark: -Tasks define all their outputs as declarations at the top of the task definition. +Tasks define all their inputs as declarations at the top of the task definition. ```wdl task test { @@ -2582,7 +2582,7 @@ Array[Int] xs = [ 1, 2, 3 ] Array[String] ys = [ "a", "b", "c" ] Array[String] zs = [ "d", "e" ] -Array[Pair[Int, String]] crossed = crossProduct(xs, zs) # i.e. crossed = [ (1, "d"), (1, "e"), (2, "d"), (2, "e"), (3, "d"), (3, "e") ] +Array[Pair[Int, String]] crossed = cross(xs, zs) # i.e. crossed = [ (1, "d"), (1, "e"), (2, "d"), (2, "e"), (3, "d"), (3, "e") ] ``` ## Integer length(Array[X])