# Can We Wean Scala Off Implicit Conversions?

**URL:** <https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388>\
**Category:** Language Design\
**Created:** [July 2, 2020, 9:51am UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388 "2020-07-02T09:51:12Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![LPTK](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/lptk/32/1620_2.png) [@LPTK](https://contributors.scala-lang.org/u/LPTK)\
**Post date:** [July 3, 2020, 8:53am UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/41 "2020-07-03T08:53:41Z")

</div>

In this case, we can avoid the `extension` noise by using SAM syntax (I’ve just tried, it works):

```scala
trait Fragable[T]:
  extension (x: T)
    def toFrags: List[Frag]

given Fragable[Int] =
  IntFrag(_) :: Nil
given Fragable[String] =
  StringFrag(_) :: Nil
given [A: Fragable] as Fragable[List[A]] =
  _.flatMap(_.toFrags)
given Fragable[EmptyTuple] =
  _ => Nil
given [A: Fragable, B <: Tuple: Fragable] as Fragable[A *: B] =
  x => x.head.toFrags ++ x.tail.toFrags

```

---

<div class="post-metadata">

**Author:** ![odersky](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/odersky/32/42_2.png) [@odersky](https://contributors.scala-lang.org/u/odersky)\
**Post date:** [July 3, 2020, 9:21am UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/42 "2020-07-03T09:21:06Z")

</div>

> [@NthPortal](#):
>
> Union types are awkward to unworkable for the two standard library conversions.

I agree. But the two standard library conversions are there essentially for the extension methods they provide. I.e. I want all sequence ops on Arrays. But I rarely want to silently convert an array to a sequence. I think for that case demanding an explicit `toSeq` is fine. So I’d try to model the `Array` and `String` conversions as extension methods instead.

> [@Ichoran](#):
>
> I find implicit conversions incredibly useful for clean reuse of existing libraries.

True. Complexity is created by “unkown unknowns”. That means as long as its your own code, and you know what you are doing, you might prefer implicit conversions. But as soon as it leaks out to users of libraries, I’d try to avoid them. I believe the language import is the right control mechanism then: Use it in your own code, but don’t force it on your users.

[EDIT] Here is an idea to improve usability of conversions:

1. Implement an extension method `convert` in `Conversion`:

2. Offer a refactoring in the IDE or compiler to rewrite every implicitly inserted conversion on `E` to `E.convert`.

That way a workflow could look like this:

- Compile with `language.implicitConversions`
- Before you ship, apply the refactoring, and scrutinize your code for unwanted conversions and possible further refactorings.

---

<div class="post-metadata">

**Author:** ![Ichoran](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/ichoran/32/40_2.png) [@Ichoran](https://contributors.scala-lang.org/u/Ichoran)\
**Post date:** [July 3, 2020, 5:09pm UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/44 "2020-07-03T17:09:47Z")

</div>

> [@odersky](#):
>
> That way a workflow could look like this:
> 
> - Compile with `language.implicitConversions`
> - Before you ship, apply the refactoring, and scrutinize your code for unwanted conversions and possible further refactorings.

That sounds like a great idea. And once it’s converted to `.convert`, regular refactoring tools in IDEs are more likely to be able to change it to something else if you prefer something else.

---

<div class="post-metadata">

**Author:** ![Alexander](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/alexander/32/1181_2.png) [@Alexander](https://contributors.scala-lang.org/u/Alexander)\
**Post date:** [July 3, 2020, 5:20pm UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/45 "2020-07-03T17:20:02Z")

</div>

I’m not really sure how replacing Magnet with conversion can cover magnets that are using dependent types:

```scala
trait Magnet {
  type Out 
  def value: Out
}

def complete(magnet: Magnet): magnet.Out = magnet.value

```

Akka http DSL is built on this pattern. And loosing such api might be a big drawback/limitation for the community to switch on dotty.

---

<div class="post-metadata">

**Author:** ![gabfssilva](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/gabfssilva/32/1796_2.png) [@gabfssilva](https://contributors.scala-lang.org/u/gabfssilva)\
**Post date:** [July 3, 2020, 6:09pm UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/46 "2020-07-03T18:09:26Z")

</div>

> I’m not really sure how replacing Magnet with conversion can cover magnets that are using dependent types:
> 
> ```auto
> trait Magnet {
> type Out 
> def value: Out
> }
> 
> def complete(magnet: Magnet): magnet.Out = magnet.value
> 
> ```
> 
> Akka http DSL is built on this pattern. And loosing such api might be a big drawback/limitation for the community to switch on dotty.

I guess the same behaviour could be achieved by using type classes: [Scastie - An interactive playground for Scala.](https://scastie.scala-lang.org/SdsfVAOIQMCJvpgDbQo1QQ)

---

<div class="post-metadata">

**Author:** ![tg44](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/tg44/32/1799_2.png) [@tg44](https://contributors.scala-lang.org/u/tg44)\
**Post date:** [July 3, 2020, 6:47pm UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/47 "2020-07-03T18:47:29Z")

</div>

> [@smarter](#):
>
> As just one example: `option2Iterable` in the standard library is really convenient, are we prepared to lose that?

> [@odersky](#):
>
> For instance, I would argue that `Some(1) ++ List(2, 3)` does not make sense; we should write `Some(1).toSeq ++ List(2, 3)` for that.

I think `option2Iterable` in most cases goes to the **Implicit conversions are Evil** category.  
For example I hate that

```scala
def conv(s: String): Option[String] = ???
List.empty[String].flatMap(conv)

```

compiles. `conv`s return type has nothing to do with lists so why we can use `.flatMap`?. It was a big struggle for me at foreign codebases, and it was a big struggle for every beginner I pair-programmed. I usually write an extender, or use `.map().collect()`, or `.map().flatten`. The extender and the flatten always raise a red-flag in the reader (why it is not a `.flatMap`? ohh because it does not return a list), and the collect is explicit.

Also, I think the `++` syntax can lead to confusion without the `.toList`. (I understand why the Option is a special list, but still, you need to keep a smaller codebase in your head when you read others code if these are explicit.)

The only place where I like implicit conversions, where I need to change/refactor data structures for prototypes, and not in the whole app. (For example, changing two database views to one external source, and I don’t need to modify the code everywhere if I write the deriving conversions from the new format to the old format in the testing/prototyping period.) But I would let this convenience go if we get rid of the `option2Iterable` and we can still write extender methods,

---

<div class="post-metadata">

**Author:** ![Sciss](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/sciss/32/52_2.png) [@Sciss](https://contributors.scala-lang.org/u/Sciss)\
**Post date:** [July 3, 2020, 9:32pm UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/48 "2020-07-03T21:32:25Z")

</div>

My 2c are that I have at least a dozen libraries that use pattern similar to `String => Frag`. For example:

```scala
sealed trait GE // graph element
case class Constant(value: Double) extends GE
trait UGen extends GE // unit generator dsp block
    
implicit def doubleIsConstant(value: Double): Constant = Constant(value)

```

or

```auto
trait Ex[+A] { // expression
  def value: A
}

implicit def doubleConstant(value: Double): Ex[Double] = ...
implicit def stringConstant(value: String): Ex[String] = ...

```

This doesn’t work with just extension methods, and type class approach would just be horrific (I would _hate_ Scala if it forced me to pass type classes here everywhere). This is a very fine case for implicit conversions (or implicit constructor as lihaoyi calls it) IMHO.

```scala
case class SinOsc(freq: GE, phase: GE) extends UGen

SinOsc(400.0, 0.0) // ok

```

```scala
case class PrintLn(in: Ex[String], tr: Trig) extends Act

PrintLn("Hello world", LoadBang()) // ok

```

---

<div class="post-metadata">

**Author:** ![lihaoyi](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/lihaoyi/32/103_2.png) [@lihaoyi](https://contributors.scala-lang.org/u/lihaoyi)\
**Post date:** [July 3, 2020, 11:27pm UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/49 "2020-07-03T23:27:01Z")

</div>

Looking at what has been discussed so far, I have to say that I find implicit constructors significantly easier to understand than context-bound variadic generic tuples. Implicit constructors aren’t unique to Scala, and C# and C++ both have them. People coming from Java know of the adapter pattern, and implicit constructors just smooth it out a bit. Far fewer people would know how to work with context-bound variadic generic tuples.

If you look at the problems people have with implicit conversions, it’s almost always the fact that they provide extension methods when they really just wanted an implicit constructor, or vice versa. I think narrowing “implicit conversions” to “implicit constructors” and forcing people to jump through additional hoops in the occasional case that they want both would be a reasonable way forward. It would fix ~all the existing issues with conversions and provide hardcoded support for the two most common use cases (extension methods and implicit constructors) in a simple and understandable fashion.

The proposed `def f[T: Fragable](x: String, y: T**) = ...` does look workable, and isn’t _too_ awkward. Maybe if we paper over the context-bound variadic generic tuple stuff with nice enough syntax it’ll be just another magic incantation that people can cargo cult? The fact that it desugars to something else could be an implementation detail.

Having a python-like `**` syntax that works for any `ProductN` could have a lot of value beyond just dealing with `Fragable`, but that may be a different discussion

---

<div class="post-metadata">

**Author:** ![Alexander](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/alexander/32/1181_2.png) [@Alexander](https://contributors.scala-lang.org/u/Alexander)\
**Post date:** [July 3, 2020, 11:50pm UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/50 "2020-07-03T23:50:52Z")

</div>

Unfortunately you suggestion doesn’t cover return type. I should have specified this explicitly, what I’m looking is achieving following akka http DSL:

```scala
parameters("arg1".as[String], "arg2".as[Int]) { (arg1, arg2) =>
  // ...
}
// or
parameters("arg1".as[String]) { (arg1) =>
  // ...
}

```

this two code sample utilizing 3 features - auto tupling, magnet pattern and dependent types:

```scala
def parameters(pdm: ParamMagnet): pdm.Out = pdm()

```

where Out might be Function1, Function2 etc, depends on resolution of Magnet patten. It might be possible to achieve in position of type parameter but it might be lacking of type inference because lack of type context. I will try to play with it tomorrow.

---

<div class="post-metadata">

**Author:** ![Jasper-M](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/jasper-m/32/1192_2.png) [@Jasper-M](https://contributors.scala-lang.org/u/Jasper-M)\
**Post date:** [July 4, 2020, 7:23am UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/51 "2020-07-04T07:23:31Z")

</div>

Dotty has auto untupling for functions or whatever it’s called, which might make this a lot easier. But it’s also possible with a typeclass: [https://scastie.scala-lang.org/gjrW5eOQQqaes1xP7HVunQ](https://scastie.scala-lang.org/gjrW5eOQQqaes1xP7HVunQ)

---

<div class="post-metadata">

**Author:** ![odersky](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/odersky/32/42_2.png) [@odersky](https://contributors.scala-lang.org/u/odersky)\
**Post date:** [July 4, 2020, 8:33am UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/52 "2020-07-04T08:33:18Z")

</div>

> [@lihaoyi](#):
>
> Looking at what has been discussed so far, I have to say that I find implicit constructors significantly easier to understand than context-bound variadic generic tuples. Implicit constructors aren’t unique to Scala, and C# and C++ both have them.

I was unfamiliar with the term, so looked up the [C# reference](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/user-defined-conversion-operators). In fact these look to me just like implicit conversions, with the restriction that they have to be defined in the implicit scope (as we would call it) of the source or target type. C#'s implicit scope definition is very close to Scala’s. I don’t know whether one can define a proper subclass of implicit conversions that are just implicit constructors. How would you define them?

The fact that both C# and C++ have user-defined implicit conversions (and very few other languages have them, it seems) does not count as a recommendation for me. These are literally the two most complex mainstream languages out there.

---

<div class="post-metadata">

**Author:** ![RichType](https://contributors.scala-lang.org/letter_avatar_proxy/v4/letter/r/f14d63/32.png) [@RichType](https://contributors.scala-lang.org/u/RichType)\
**Post date:** [July 4, 2020, 2:04pm UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/53 "2020-07-04T14:04:12Z")

</div>

> [@odersky](#):
>
> The fact that both C# and C++ have user-defined implicit conversions (and very few other languages have them, it seems) does not count as a recommendation for me. These are literally the two most complex mainstream languages out there.

Well speaking for my own experience I can only say that Haskell (with the exception of Idriss, which requires Haskell to bootstrap) is the most complicated language ever I’ve tried to use by a long mile. A few years back I couldn’t even manage to build and run Haskell Hello World on an Ubuntu install. And I’ve programed at least with minimal success in in C, C++, C#, Basic, Javascript, Java, Pascal, Bash and Coral.

In C I guess you do user defined implicit conversions (like many things) through “simple” text substitution macros. Between then C / C++ / C# have had enormous success in implementing a huge percentage of the world’s most challenging programming development problems. I’m not saying that means we must slavishly follow them or are bound to facilitate every pattern or capability that they offer, but we should consider why they have been and still are so popular.

---

<div class="post-metadata">

**Author:** ![morgen-peschke](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/morgen-peschke/32/2528_2.png) [@morgen-peschke](https://contributors.scala-lang.org/u/morgen-peschke)\
**Post date:** [July 4, 2020, 6:50pm UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/54 "2020-07-04T18:50:19Z")

</div>

> [@odersky](#):
>
> EDIT: It seems we’d need both more and less than autotupling. More: We should be able to pass the elements of a tuple after other arguments. Less: we need it only when the method specifies it. Which makes me think: Should we introduce a way to allow multiple elements of a tuple given as a varargs?

As the larger tuples are already going to be backed by arrays, would it make sense to simply shift how varargs are modeled so that they’re all backed by tuples and provide some quality of life tooling around them?

Stuff like:

1. An extension method to convert a `TupleN` to a `Seq` if all the types are the same.
2. A default lift you you don’t have to write this for every typeclass you create:

```auto
given [A: Fragable, B <: Tuple: Fragable] as Fragable[A *: B]:
  extension (x: A *: B)
     def toFrags = x.head.toFrags ++ x.tail.toFrags

```

---

<div class="post-metadata">

**Author:** ![eyalroth](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/eyalroth/32/851_2.png) [@eyalroth](https://contributors.scala-lang.org/u/eyalroth)\
**Post date:** [July 5, 2020, 7:27am UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/55 "2020-07-05T07:27:16Z")

</div>

> [@odersky](#):
>
> ### Implicit conversions are Evil

Premature optimization is (the root of all) evil; implicit conversions are malicious 😄

I do not have a lot to add to the discussion other than that I support the general notion of reducing the usage of implicit conversations. In my experience, they often cause more confusion than clarity.

For instance, the Akka HTTP use case that was brought up in here is a good example of an API that might seem neat at first, but in my opinion becomes more confusing and cumbersome the longer you use it, and is highly susceptible to abuse. I can’t say it’s all because of the implicit conversions, but they do add up to the confusion surrounding this API.

---

<div class="post-metadata">

**Author:** ![kai](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/kai/32/1733_2.png) [@kai](https://contributors.scala-lang.org/u/kai)\
**Post date:** [July 5, 2020, 10:08pm UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/56 "2020-07-05T22:08:54Z")

</div>

> [@lihaoyi](#):
>
> Looking at what has been discussed so far, I have to say that I find implicit constructors significantly easier to understand than context-bound variadic generic tuples.

I absolutely agree. I have personally converted the `doobie` library from using HLists + typeclasses for its SQL string interpolation to using magnet pattern (aka implicit constructors)

PRs: [#1035](https://github.com/tpolecat/doobie/pull/1035) [#1045](https://github.com/tpolecat/doobie/pull/1045)

The resulting diff

```auto
+45 −155

```

Tells a lot about the benefits of these two approaches. And all that code was removed while the library gained _more_ features than it had before – e.g. ability to nest SQL interpolations – and became much easier to understand.

Also, everyone again forgets the elephant in the room – implicit **macro** conversions. They can never be replaced by typeclasses, even dependently-typed, because they transform (trees of) **values** , not types. They are used by many libraries and DSLs, like `sbt`, `quill`, `shapeless`, [refined](https://github.com/fthomas/refined), [logstage](https://izumi.7mind.io/logstage) and [distage](https://izumi.7mind.io/distage). I have written [before](https://contributors.scala-lang.org/t/updated-proposal-revisiting-implicits/3821/271) and [again](https://contributors.scala-lang.org/t/proposal-changes-to-implicit-conversions/4101/18) on this forum how the not well thought-out introduction of `Conversion` typeclass may harm this pattern. Obviously removing conversions outright will harm it much more.

---

<div class="post-metadata">

**Author:** ![lihaoyi](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/lihaoyi/32/103_2.png) [@lihaoyi](https://contributors.scala-lang.org/u/lihaoyi)\
**Post date:** [July 6, 2020, 2:50am UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/57 "2020-07-06T02:50:08Z")

</div>

> [@odersky](#):
>
> I don’t know whether one can define a proper subclass of implicit conversions that are just implicit constructors. How would you define them?

How about the following limitation?

- Implicit conversions no longer provide extension methods; they can now only trigger based on expected result types
- If you want extension methods, use the explicit extension method syntax

Other than that, I think implicit scope is fine as is: companion object scope is great when it can be used since those will be picked up automatically without imports, while “orphan” implicit constructors defined outside companion objects are occasionally necessary for integrating independent libraries. Both have their place, though companion-object implicits should be preferred where possible.

While not as drastic a change as “getting rid of implicits conversions” entirely, this would be a conservative step in making implicit conversions less powerful and error-prone. This change would explicitly split out “implicit constructors” (or “magnet pattern”) and “extension methods” into two orthogonal use cases. Given the popularity of the new dedicated “extension methods” language feature, I think such a split would not be too controversial.

For people who want both together they can still get it by asking for both (perhaps with a bit of boilerplate), but by default people would reach for the specific tool they need. In most cases, this would be strictly less powerful than the status quo of using “implicit conversions” to serve all purposes.

---

<div class="post-metadata">

**Author:** ![BalmungSan](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/balmungsan/32/1250_2.png) [@BalmungSan](https://contributors.scala-lang.org/u/BalmungSan)\
**Post date:** [July 6, 2020, 5:03am UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/58 "2020-07-06T05:03:09Z")

</div>

I would like to add that if we all go with this route, it would be good to add two implicit constructors to the stdlib, that I have seen being requested by newcomers a lot.

1. From `A` to `Option[A]`
2. From `A` to `List[A]`

The first one is probably the most requested one; pretty useful when you have a lot of optional arguments and what to avoid the boilerplate at call site.  
The second one is useful in situations like `foo(flags = List(onlyOneFlag))`; which, for what I can remember, was common in **Python** libraries.

I have always thought that the boilerplate is better than the _“magic”_ of the implicit conversions, especially considering that those two are very open and can lead to strange bugs. But, if we restrict such conversion to be only applicable when calling a method, I guess they would help to improve the conciseness of the code.

---

<div class="post-metadata">

**Author:** ![robstoll](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/robstoll/32/1727_2.png) [@robstoll](https://contributors.scala-lang.org/u/robstoll)\
**Post date:** [July 6, 2020, 5:44am UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/59 "2020-07-06T05:44:01Z")

</div>

One situation where conversions where pretty handy was when consuming another JVM language library which uses own FunctionX types. Being able to just use scala’s Function made it look like scala. Same applies if the other language uses an own Unit type.  
Yet, I guess this is rather the exception. Although ugly, I would be fine with using an explicit conversion

---

<div class="post-metadata">

**Author:** ![bmeesters](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/bmeesters/32/2426_2.png) [@bmeesters](https://contributors.scala-lang.org/u/bmeesters)\
**Post date:** [July 6, 2020, 7:01am UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/60 "2020-07-06T07:01:22Z")

</div>

I think that after this discussion it becomes clear that implicit conversions are not just evil. There are good use cases that have not given problems in real world production code. That said, I don’t think we have talked much about the gain/cost. Personally I find the cost of worse and slower type inference quite big compared to the benefits. If I understood correctly, type inference is worse for all code, even if no implicit conversions are involved.

So I rather look for alternatives to the ‘implicit constructor’ pattern and the macro implicit conversions. I think the type-class based approach works well enough to replace the implicit constructor. Sure it might be more code and initially harder to grok, however I think this is still a lower cost than worse type inference in **all code**. That said, I wouldn’t really know if and how we could facilitate macro implicit conversions in any other way.

---

<div class="post-metadata">

**Author:** ![julienrf](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/julienrf/32/4_2.png) [@julienrf](https://contributors.scala-lang.org/u/julienrf)\
**Post date:** [July 6, 2020, 9:10am UTC](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388/61 "2020-07-06T09:10:18Z")

</div>

> [@kai](#):
>
> Also, everyone again forgets the elephant in the room – implicit **macro** conversions. They can never be replaced by typeclasses, even dependently-typed, because they transform (trees of) **values** , not types. They are used by many libraries and DSLs, like sbt, quill, [logstage](https://izumi.7mind.io/logstage), [distage](https://izumi.7mind.io/distage). I have written [before](https://contributors.scala-lang.org/t/updated-proposal-revisiting-implicits/3821/271) and [again](https://contributors.scala-lang.org/t/proposal-changes-to-implicit-conversions/4101/18) on this forum how the not well thought-out introduction of `Conversion` typeclass may harm this pattern. Obviously removing conversions outright will harm it much more.

How would alternative solutions look like? I mean, if “implicit conversions are evil”, shouldn’t we try to find alternatives? To me, the combination of implicit conversions + macros sounds quite scary. From the examples you mentioned, I’ve only used sbt and quill, and my experience with their DSL is not great AFAICT.

[Previous page](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388.md?page=2)

[Next page](https://contributors.scala-lang.org/t/can-we-wean-scala-off-implicit-conversions/4388.md?page=4)
