Skip to content

Commit

Permalink
reintroduce Transformer.Debug (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
arainko authored Mar 28, 2024
2 parents 1e0df24 + 8db6988 commit c2823f8
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,14 @@ object Transformer {
Derived.FromFunction(source => FallibleTransformations.between[F, Source, Dest](source, F, "definition"))
}

object Debug {
inline def showCode[A](inline value: A): A = internal.CodePrinter.code(value)
}

@deprecated(message = "Use io.github.arainko.ducktape.Mode instead", since = "ducktape 0.2.0-M3")
type Mode[F[+x]] = io.github.arainko.ducktape.Mode[F]

@deprecated(message = "Use io.github.arainko.ducktape.Mode instead", since = "ducktape 0.2.0-M3")
val Mode = io.github.arainko.ducktape.Mode

}

0 comments on commit c2823f8

Please sign in to comment.