Skip to content

Commit d028861

Browse files
committed
Added Stream.concat
1 parent e3e1b06 commit d028861

File tree

5 files changed

+16
-12
lines changed

5 files changed

+16
-12
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../Enum/concat-1.tex
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../Enum/concat-2.tex
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
---
22
title: concat/1
3-
url: /Stream/concat/1
4-
draft: true
3+
url: Stream/concat/1
54
---
65

7-
# `Stream.concat/1`
8-
Brief description and usage of the `Stream`'s `concat/1` function.
6+
Creates a stream that enumerates each enumerable in `enumerables`.
97

108
{{< figure src="images/functions/Stream/concat-1.svg" >}}
11-
{{< figure src="images/functions/Stream/concat-1.2.svg" >}}
12-
{{< figure src="images/functions/Stream/concat-1.3.svg" >}}
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
---
22
title: concat/2
3-
url: /Stream/concat/2
4-
draft: true
3+
url: Stream/concat/2
54
---
65

7-
# `Stream.concat/2`
8-
Brief description and usage of the `Stream`'s `concat/2` function.
6+
Creates a stream that enumerates the `left` enumerable, followed by the `right` one.
97

108
{{< figure src="images/functions/Stream/concat-2.svg" >}}
11-
{{< figure src="images/functions/Stream/concat-2.2.svg" >}}
12-
{{< figure src="images/functions/Stream/concat-2.3.svg" >}}

data/signatures.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,6 +1043,16 @@
10431043
defmodule Stream do
10441044
def chunk_every(enum, count, step, leftover \\ [])
10451045
end
1046+
- name: concat/1
1047+
signature: |
1048+
defmodule Stream do
1049+
def concat(enumerables)
1050+
end
1051+
- name: concat/2
1052+
signature: |
1053+
defmodule Stream do
1054+
def concat(left, right)
1055+
end
10461056
- name: chunk_while/4
10471057
signature: |
10481058
defmodule Stream do

0 commit comments

Comments
 (0)