diff --git a/src/core/working.scala b/src/core/working.scala index c825fdf..030be23 100644 --- a/src/core/working.scala +++ b/src/core/working.scala @@ -26,7 +26,8 @@ object WorkingDirectory: @capability trait WorkingDirectory(val directory: Maybe[Text]): - def path[PathType: SpecificPath]: Maybe[PathType] = directory.mm(SpecificPath(_)) + def path[PathType](using specificPath: SpecificPath[PathType]): Maybe[PathType^{specificPath}] = + directory.mm(SpecificPath(_)) object HomeDirectory: given default(using Quickstart): HomeDirectory = HomeDirectory(System.getProperty("user.home").nn.tt)