ronanM

Results 29 issues of ronanM

Implement `IO` `redeem()` and `redeemWith()` _"directly"_ without `Either` allocation (via `attempt`). Actual: ```scala def redeem[B](recover: Throwable => B, map: A => B): IO[B] = attempt.map(_.fold(recover, map)) ```

good first issue
:microscope: experiment

When we already have an `Array[Any]` in our derivation, it would be more performant to use `def rawConstruct(fieldValues: Array[Any]): Type` than `def rawConstruct(fieldValues: Seq[Any]): Type`.

Update to Scala 2.10.4 otherwise compile error : https://github.com/sbt/sbt/issues/1399

Replace ``` x ← 11 ~> ("x = " + _) ``` By ``` x ← 11 ~>: "x = " ``` `~>:` / `:~>` inspired from `scala.collection.SeqLike` `+:` /...

I start using `DescribedComputationT` ``` import cats.effect.IO import cats.effect.implicits._ import treelog.LogTreeSyntaxWithoutAnnotations._ type DctIO[A] = DescribedComputationT[IO, A] def good(i: Int): DctIO[Int] = DescribedComputationT(IO(i ~> ("i: " + _))) def bad(i: Int):...

Add operations with multiple `Var` in `hedgehog.examples.state.CRTest`, to explain how to mix operations with single `Var` and operations with multiple `Var` in the model. For example: ```scala def createList(vs: List[String]):...

Add new interpolator (for exemple `fsm`) with `stripMargin` computed at compile-time. ```scala assert( fsm"""|a | b |c""" == s"""|a | b |c""".stripMargin ) ```

enhancement

Add Magnolia generic derivation to `org.bson.BsonValue` for Scala `2.12`, `2.13` and `3` (with minimalist test). The aim of this work is to encode/decode like `mongo4cats-circe` but directly from ADT to...

This PR is the continuation of https://github.com/makers-for-life/makair/pull/214

Add a parameter to disable auto crop could be useful.