PawelJ-PL

Results 15 comments of PawelJ-PL
trafficstars

The `chain` (`flatMap`) from monad does not have the ability to unwrap underlaying value. The monad itself does not have this ability at all. In some languages we can use...

This is also shown in the fantasyland you mentioned in the book: https://github.com/fantasyland/fantasy-land#fantasy-landchain-method `fantasy-land/chain :: Chain m => m a ~> (a -> m b) -> m b`

This comes from the monad laws. [First example to explain the monad laws](https://wiki.haskell.org/Monad_laws) ![monad](https://user-images.githubusercontent.com/20472898/164494439-2154ae6b-b8eb-4bcd-9f6b-07f4b88d3bc1.png) (note that in Haskell `return` _Inject a value into the monadic type._). Other sources point to...

Sure. Sttp client dependencies: ```sbt val sttpClient = Seq( "com.softwaremill.sttp.client" %% "async-http-client-backend-cats", "com.softwaremill.sttp.client" %% "circe" ).map(_ % "2.2.0") ```

This PR was created as an alternative to https://github.com/joan38/kubernetes-client/pull/76, which was finally chosen. Do you think it is worth including these changes as well? Perhaps it actually makes sense because...

I will check in my spare time if anything needs to be fixed to make it possible to merge

I think it's not related to this library (`zio-json`), but to the way `opaque types` works. In this scope, both `String` and `UserName` refer to the same type, so trying...

Bumping, just so the issue doesn't get closed.

I can also set methods as inline in trait, but this will require that almost the entire application has inline functions. I wonder if it's possible to limit this to...