Note also the line, `Domain.over[Try]`. This will work over any monadic type which can be sequenced. The code is here, https://github.com/propensive/pyroclastic/ … and it works with Dotty and Scala 2, with a little extra boilerplate.
-
-
Show this thread
-
If you choose to abstract over `Future`, for example, then you get parallel execution for free.
Show this thread
End of conversation
New conversation -
-
-
could you recommend the best book to learn Scala for Java developers needing a practical and fast path to learn and use Scala? thanks;
-
I'm not sure I'm the best person to ask, as I didn't read any books while I was learning, but Programming in Scala by Odersky, Venners & Spoon is the route most people take. I'm not sure any books explain how the code above works, though, as I draw on lots of advanced features...
- Show replies
New conversation -
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@threadreaderapp please unroll - Show replies
New conversation -
-
-
Is this meant for hierarchical CLI params in fury?
-
I'm planning to use it in Fury for safely composing actions when running commands. There's a lot of duplication at the moment (e.g. making coffee or tea both require "preparation"), but I need the typechecking to stop me messing up value dependencies.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.