Skip to content

Commit a76b760

Browse files
authored
Update standard types docs (#6329)
* Update standard types docs * Move type checking utils to language server --------- Signed-off-by: Ben Sherman <[email protected]>
1 parent fa97230 commit a76b760

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+306
-1776
lines changed

docs/process.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ hello
655655

656656
### Input tuples (`tuple`)
657657

658-
The `tuple` qualifier allows you to group multiple values into a single input definition. It can be useful when a channel emits tuples of values that need to be handled separately. Each element in the tuple is associated with a corresponding element in the `tuple` definition. For example:
658+
The `tuple` qualifier groups multiple values into a single input definition. It can be useful when a channel emits {ref}`tuples <script-tuples>` of values that need to be handled separately. Each element in the tuple is associated with a corresponding element in the `tuple` definition. For example:
659659

660660
```nextflow
661661
process cat {
@@ -1056,7 +1056,7 @@ If the command fails, the task will also fail. In Bash, you can append `|| true`
10561056

10571057
### Output tuples (`tuple`)
10581058

1059-
The `tuple` qualifier allows you to output multiple values in a single channel. It is useful when you need to associate outputs with metadata, for example:
1059+
The `tuple` qualifier outputs multiple values in a single channel as a {ref}`tuple <script-tuples>`. It is useful when you need to associate outputs with metadata, for example:
10601060

10611061
```nextflow
10621062
process blast {

docs/reference/stdlib-namespaces.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,7 @@ The global namespace contains globally available constants and functions.
105105
`sleep( milliseconds: long )`
106106
: Sleep for the given number of milliseconds.
107107

108-
`tuple( collection: List ) -> ArrayTuple`
109-
: Create a tuple object from the given collection.
110-
111-
`tuple( args... ) -> ArrayTuple`
108+
`tuple( args... ) -> Tuple`
112109
: Create a tuple object from the given arguments.
113110

114111
(stdlib-namespaces-channel)=

0 commit comments

Comments
 (0)