Alex
Alex
@dwragge In immutables, there are features that are compiler-specific. To be clear - not every feature of immutables is compiler-specific so you may not need to include this in your...
One way how Immutables can attempt to mitigate that is by specifying required opens in jar manifest: ``` file: META-INF/MANIFEST.MF Add-Opens: jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED ... ``` But this would require Immutables to...
Turned out to be easy: https://github.com/immutables/immutables/pull/1354 Now I wish to come up with it earlier.
@JosephMoniz There are two sources for foldable syntax. One is generated by simulacrum here: https://github.com/typelevel/cats/blob/61a4a4641f084e8ad8d9fd5a52aed71b5022250d/core/src/main/scala/cats/Foldable.scala#L924-L940 The other one is custom: https://github.com/typelevel/cats/blob/master/core/src/main/scala/cats/syntax/foldable.scala#L9 In custom one foldable evidence is provided at the...
@satorg yes, exactly.
@satorg one more workaround is using `.andThen` ``` valid.andThen { a => ( some validation steps on a ).as(a) } ```
`.andAlso`? It has some similarities with Kotlin .also() extension method: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/also.html
TBH, I feel like it's an issue with IntelliJ IDEA basic understanding of Clojure rather than a theme.
@imrekoszo I'm not using any plugins. Clojure syntax highlighting comes in the default configuration of IntelliJ.
I just created a small project that supports generation of regex constrained strings for jqwik. Have a look and leave feedback if you're keen: https://github.com/SimY4/coregex jqwik usage example in unit...