Skip to content

Commit

Permalink
Generalize over HTTP streams and refactor postable typeclass
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Feb 4, 2025
1 parent 77fa5df commit e35e511
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/core/anticipation+aviation-core.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import aviation.*
import prepositional.*

package instantApi:
given aviationInstant: Timing.Instant is (Abstractable & Concretizable) across Instants into
given aviationInstant: Timing.Instant is (Abstractable & Instantiable) across Instants into
Long from Long =
new Abstractable with Concretizable:
new Abstractable with Instantiable:
type Self = Timing.Instant
type Source = Long
type Result = Long
Expand Down
8 changes: 4 additions & 4 deletions src/core/aviation.Timing.scala
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ object Timing:

object TaiInstant:
erased given underlying: Underlying[TaiInstant, Long] = ###
given generic: Timing.TaiInstant is (Abstractable & Concretizable) across Instants into
given generic: Timing.TaiInstant is (Abstractable & Instantiable) across Instants into
Long from Long =
new Abstractable with Concretizable:
new Abstractable with Instantiable:
type Self = Timing.TaiInstant
type Source = Long
type Result = Long
Expand All @@ -51,9 +51,9 @@ object Timing:
erased given underlying: Underlying[Instant, Long] = ###
def of(millis: Long): Instant = millis

given generic: Timing.Instant is (Abstractable & Concretizable) across Instants into Long from
given generic: Timing.Instant is (Abstractable & Instantiable) across Instants into Long from
Long =
new Abstractable with Concretizable:
new Abstractable with Instantiable:
type Self = Timing.Instant
type Result = Long
type Source = Long
Expand Down

0 comments on commit e35e511

Please sign in to comment.