Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 99c43ed

Browse files
committed
Use Encodable in Text instead of Encoder
1 parent 6d96c08 commit 99c43ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/core/digression.Fqcn.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package digression
1919
import rudiments.*
2020
import anticipation.*
2121
import contingency.*
22+
import prepositional.*
2223

2324
import language.experimental.captureChecking
2425

@@ -41,6 +42,8 @@ object Fqcn:
4142

4243
new Fqcn(parts.map(_.tt))
4344

45+
given Fqcn is Encodable in Text = _.text
46+
4447
class Fqcn(val parts: IArray[Text]):
4548
def text: Text = parts.mkString(".").tt
4649
def className: Text = parts.last

0 commit comments

Comments
 (0)