Mike Slinn

Results 105 comments of Mike Slinn

Yes, the image is clipped at the bounding box

Yeah, I tried that too: ``` sql"select code, name, population, gnp from country". query[Country]. to[List]. transact(xa). unsafeRunSync java.lang.NoSuchMethodError: cats.FlatMap.productR$(Lcats/FlatMap;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; doobie.free.preparedstatement$$anon$2.productR(preparedstatement.scala:683) cats.Apply.$times$greater(Apply.scala:120) cats.Apply.$times$greater$(Apply.scala:11) doobie.free.preparedstatement$$anon$2.$times$greater(preparedstatement.scala:683) cats.Apply$Ops.$times$greater(Apply.scala:11) cats.Apply$Ops.$times$greater$(Apply.scala:11) cats.syntax.ApplySyntax$$anon$1.$times$greater(apply.scala:6) doobie.util.query$Query.to(query.scala:120) doobie.util.query$Query.to$(query.scala:119) doobie.util.query$Query$$anon$4.to(query.scala:211) doobie.util.query$Query$$anon$3.to(query.scala:192)...

I don't understand what I'm doing, but this seems to be getting closer to the desired result: ``` sql"select code, name, population, gnp from country". query[Country].stream.transact(xa).compile.to[List] res35: IO[List[Country]] = Map(...

I had some success. I documented the issues in the [DoobieDoo github project](https://github.com/mslinn/doobieDoo). Update: I fixed the build script and gave up on Ammonite. The major issue remaining is that...

I figured out a way forward. Seems that `xaAsynch` is not a dropin replacement for `xaSynch`. This code works, however: ``` val result: Seq[Country] = xaAsynch.use { xa => sql"select...

The reworked collection charts are ready for review at https://github.com/mslinn/scala-collections-charts/tree/2.13

I don't think that end users should care about an implementation detail

The goal of this project is merely to provide end users an intuitive understanding of the collection classes. Conceptually `IterableOnce` is a [distinction without a difference](https://en.wikipedia.org/wiki/Distinction_without_a_difference) to everyone except to...

These charts are not intended to replace the need for written documentation. If it would be possible to include that level of detail in the charts, and keep them easy...