Skip to content

Commit e49d1e0

Browse files
committed
[base] Change some Seq in doc to more specific List
1 parent ca70e3f commit e49d1e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Base/src/docs/_docs/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ s2"2 + 2 = ${2 + 2}" // List("2 + 2 = ", "4")
190190
s2"${2 + 2} = 2 + 2" // List("4", " = 2 + 2")
191191
```
192192

193-
We have a `Interpolator[Seq[String]]`, and we can map a `Seq[String]` to an `String` to finish the simple string context reimplementation.
193+
We have a `Interpolator[List[String]]`, and we can map a `List[String]` to an `String` to finish the simple string context reimplementation.
194194

195195
```scala
196196
//{
@@ -272,7 +272,7 @@ so the `<|>`-combination of the two parts changes in the same way, but no source
272272
val segment = anyChars <|> anyArg
273273
```
274274

275-
Lastly, the `segments` mapping has to be changed from a `Seq[String] => String` to a `Seq[Expr[String]] => Expr[String]`.
275+
Lastly, the `segments` mapping has to be changed from a `List[String] => String` to a `List[Expr[String]] => Expr[String]`.
276276

277277
```diff
278278
val segments = segment

0 commit comments

Comments
 (0)