Skip to content

Commit 759fc68

Browse files
committed
Generalize over HTTP streams and refactor postable typeclass
1 parent f59635d commit 759fc68

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/core/rudiments-core.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,13 +308,13 @@ extension (bs: Long)
308308
extension (bytes: Bytes)
309309
def memory: Memory = Memory(bytes.size)
310310

311-
def workingDirectory[PathType: Concretizable across Paths from Text]
311+
def workingDirectory[PathType: Instantiable across Paths from Text]
312312
(using directory: WorkingDirectory)
313313
: PathType =
314314

315315
directory.path[PathType]
316316

317-
def homeDirectory[PathType: Concretizable across Paths from Text]
317+
def homeDirectory[PathType: Instantiable across Paths from Text]
318318
(using directory: HomeDirectory)
319319
: PathType =
320320

src/core/rudiments.HomeDirectory.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ object HomeDirectory:
2727
trait HomeDirectory:
2828
def directory(): Text
2929

30-
def path[PathType: Concretizable across Paths from Text]: PathType =
30+
def path[PathType: Instantiable across Paths from Text]: PathType =
3131
PathType(directory())

src/core/rudiments.WorkingDirectory.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ object WorkingDirectory:
3131
trait WorkingDirectory:
3232
def directory(): Text
3333

34-
def path[PathType: Concretizable across Paths from Text]: PathType =
34+
def path[PathType: Instantiable across Paths from Text]: PathType =
3535
PathType(directory())

0 commit comments

Comments
 (0)