From 64dee1ed82c17ff1abb0eef1198acd44be16e9ba Mon Sep 17 00:00:00 2001 From: Louis Bergelson Date: Thu, 13 Jul 2017 16:20:15 -0400 Subject: [PATCH 1/2] fixing typo in cross example replacing incorrect use of crossProduct with cross --- SPEC.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPEC.md b/SPEC.md index 2a4884d..d1bb4cc 100644 --- a/SPEC.md +++ b/SPEC.md @@ -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]) From 080ce20a8ac203ad9aedc5e14a439e8ebb1df17f Mon Sep 17 00:00:00 2001 From: Dan Billings Date: Thu, 20 Jul 2017 10:56:13 -0400 Subject: [PATCH 2/2] Update SPEC.md --- SPEC.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPEC.md b/SPEC.md index d1bb4cc..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 {