Skip to content

Commit

Permalink
Fixed compile
Browse files Browse the repository at this point in the history
  • Loading branch information
takapi327 committed Dec 29, 2024
1 parent 9d236c8 commit 9cef538
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -672,9 +672,9 @@ trait Column[A]:
object Column extends TwiddleSyntax[Column]:

type Extract[A] <: Tuple = A match
case Column[A] => t *: EmptyTuple
case Column[A] *: EmptyTuple => t *: EmptyTuple
case Column[A] *: ts => t *: Extract[ts]
case Column[t] => t *: EmptyTuple
case Column[t] *: EmptyTuple => t *: EmptyTuple
case Column[t] *: ts => t *: Extract[ts]

given InvariantSemigroupal[Column] with
override def imap[A, B](fa: Column[A])(f: A => B)(g: B => A): Column[B] = fa.imap(f)(g)
Expand Down

0 comments on commit 9cef538

Please sign in to comment.