Skip to content

Commit 27dac01

Browse files
committed
polished content v4
1 parent 78ad30f commit 27dac01

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

2024-10-art-of-scala/slides.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ <h2>Higher-Kinded <br/> Data</h2>
552552

553553
### `HKD.pure`
554554

555-
Create an instance for any field type
555+
Create an instance
556556
```scala
557557
def pure[A[_]](f: [t] => () => A[t]): Data[A]
558558
```
@@ -682,12 +682,11 @@ <h2>Higher-Kinded <br/> Data</h2>
682682
Storing metadata is more complicated
683683

684684
```scala
685-
case class Meta[T](
686-
name: String,
687-
index: Int,
688-
child: Option[Meta[T]]
685+
case class Const[V](
686+
value: V
687+
child: Option[Const[V]]
689688
)
690-
val meta: Input[Meta]
689+
val meta: Input[Const]
691690
```
692691
<span style="font-size: 0.7em;color: gray">Works only with wrapping</span>
693692

@@ -839,7 +838,9 @@ <h2>Higher-Kinded <br/> Data</h2>
839838

840839
<span class="breadcrumb-data">Decisions4s » Context</span>
841840

842-
### We're hiring!
841+
## We're hiring!
842+
### Remotely!
843+
#### For good bucks!
843844

844845
++++
845846

0 commit comments

Comments
 (0)