Alexandre Archambault

Results 462 comments of Alexandre Archambault

Also, to clarify things, @travisbrown 's fix above wasn't fine with actually recursive ADTs (stack was blowing elsewhere), but things may be fine by catching the StackOverflow elsewhere... Trying that.

New fix pushed in https://github.com/alexarchambault/scalacheck-shapeless/pull/51. For a recursive type `T` to be fine with generated functions, one can define an implicit `Recursive[T]`, giving it a simpler fallback generator (should be...

FYI, scalacheck-shapeless allows to (almost) explicitly limit the size of the generated trees, since its version `1.1.4`, like ```scala import org.scalacheck._, Shapeless._ sealed trait Tree case object Leaf extends Tree...

@mosesn Just do like scalacheck-shapeless does: use `Gen.sized` / `Gen.resize`, making sure the `Tree` arbitrary makes the size decrease.

That's definitely do-able with argonaut-shapeless. It has some [`JsonProductCodec`](https://github.com/alexarchambault/argonaut-shapeless/blob/master/core/src/main/scala/argonaut/derive/JsonProductCodec.scala), that can be customized to check for any non-decoded field. One should just roughly adapt back [these lines](https://github.com/alexarchambault/plotly-scala/blob/85c53585cda618e96aca94f03c7e46b318feecb6/render/shared/src/main/scala/plotly/Codecs.scala#L167-L209) to argonaut-shapeless, and...

spark-hive now works fine with [ammonite-spark](https://github.com/alexarchambault/ammonite-spark) for me.

I was able to reproduce that on EMR… That seems to originate from Ammonite adding both main JARs and source JARs to the classpath. This results in two `common-version-info.properties` resources...

Ideally, Ammonite shouldn't blindly add source JARs to the classpath this way… As a quick workaround though, I guess adding source JARs this way could be put behind a flag,...

FYI, with the current nightlies (and in the upcoming releases), it's possible to disable `import $ivy` bringing sources, with code like [this one](https://github.com/lihaoyi/Ammonite/blob/6720d42ed503bc223068f567dc8fd54d9f9078da/amm/repl/src/test/scala/ammonite/session/ProjectTests.scala#L446-L449): ```scala interp.resolutionHooks += { fetch => import...

@olafurpg Ammonite can be run with the `--thin` option, hiding many of its internal dependencies: ```text $ amm Loading... Welcome to the Ammonite Repl 2.3.8-65-0f0d597f (Scala 2.13.5 Java 11.0.7) @...