Torgeir Strand Henriksen
Torgeir Strand Henriksen
I've gotten basic logging to work thanks to the helpful tutorial, but ran into problems when using monad transformers. Consider this contrived example: ``` test :: (HasLog r String m,...
With hasql it's possible to make newtype wrappers for e.g. different integer based ids, keep the constructors private, and just export decoders and encoders. With hasql-th it seems like constructors...
Currently, ``` let expr1 = .... expr2 = .... ``` is reformatted to ``` let expr1 = ... expr2 = ... ``` This has at least three problems. 1. Fourmolu...
In the current implementation, relativeTo returns Nothing if the base URI doesn't have a scheme. If the base URI is provided at compile time, *I* can know that it has...
The Interop.Streaming.fromStreaming example assumes "r ~ ()", but I rarely find that to be the case in code that uses Streaming. Is this an area where Streaming's model is more...
## Compiler version 3.4.2 ## Minimized code ```Scala import scala.compiletime.constValueTuple import scala.deriving.Mirror case class Hello(a: Int) val mirror = summon[Mirror.Of[Hello]] val test = constValueTuple[mirror.MirroredElemTypes] ``` ## Output ``` [warn] an...
## Compiler version 3.4.2 ## Minimized code While searching for information about a "deferred inline method cannot be invoked" error, I came across a [question on Stackoverflow](https://stackoverflow.com/q/75818787) with code that's...