Adam Fraser

Results 324 comments of Adam Fraser

@pk044 I think those look great. We may want to rename `head` and `last` to `headOption` and `lastOption` to more closely mirror usage in the existing Scala collections API. I...

@pk044 I think there are a lot more methods we could add. I would take a look at the list of methods available for `scala.collection.immutable.IndexedSeq` [here](https://www.scala-lang.org/api/current/scala/collection/immutable/IndexedSeq.html). That is basically our...

Ah, excellent point. I think it was the `mapMPar` method I was missing at one point.

Okay. I do think good benchmarks needs to come first so we are specializing methods where we are actually getting a performance benefit that actually justifies the additional code.

I don't think this change is binary compatible.

Hi! Is your service parameterized on a type? If so you may need to require implicit evidence that a tag exists for that type.

Tags are used to look up a service in the ZIO environment, so when you do `serviceWithZIO[DownloadService]` a tag for `DownloadService`, basically a type tag that represents that type as...

Yeah that shouldn't be necessary. Maybe it would be worth trying to reproduce a simple version with Scastie to verify?

Well the tags are like type tags or class tags so they are generated at compile time for whatever your types are but the fact that you could summon them...

@LeonardMeyer You just need to to add a type annotation: ```scala import zio._ trait ZAkkaServer { def start(routes: String): ZIO[Scope, Throwable, Unit] } object ZAkkaServer { def start(routes: String): ZIO[ZAkkaServer...