Skip to content

Commit 29b5fc5

Browse files
authored
Update 2024_12_30_dependency_injection_tf.md
cosmetics
1 parent 655ab92 commit 29b5fc5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

2024_12_30_dependency_injection_tf.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ object AppContextAsyncProviders {
124124
}
125125

126126
def tryBuildImpl[F[_]:Type, Xs <: NonEmptyTuple:Type](using Quotes): Expr[TryBuild[F,Xs]] = {
127-
//
127+
// our macro, which now returns TryBuildFailere instead of reporting the error.
128128
}
129129

130130
..
@@ -162,13 +162,13 @@ Yet one popular style is using a concrete monads, for example `IO` instead `F[_
162162

163163
## Environment effects.
164164

165-
If we open the theme of using type-driven dependency injection in the effect systems, maybe we should say few words about libraries like zio or kyo, which provides own implementation of dependency injection.
166-
All them based on concept, that types needed for computation are encoded in it signature (similar to our tagless-final approach). In theory, our approach cah simplicity interaction points with such libraries (i.e. we can assemble needed computation environmemt from providers).
165+
If we open the theme of using type-driven dependency injection in the effect systems, maybe we should say a few words about libraries like zio or kyo, which provide their implementation of dependency injection.
166+
All of them are based on the concept that types needed for computation are encoded in their signature (similar to our tagless-final approach). In theory, our approach can simplify interaction points with such libraries (i.e., we can assemble the needed computation environment from providers).
167167

168168

169-
That’s all for today. Tagless final part are published as subproject in appcontext with name “appcontext-tf”,
169+
That’s all for today. The tagless final part are published as a subproject in `appcontext` with name “appcontext-tf”,
170170
(github: https://github.com/rssh/scala-appcontext )
171-
You can try it using `“com.github.rssh” %%% “appcontext-tf” % “0.2.0”` as dependency. (maybe it should be joined with core ?) Will be grateful about problem reports and suggestions for better names.
171+
You can try it using `“com.github.rssh” %%% “appcontext-tf” % “0.2.0”` as dependency. (maybe it should be joined with the core ?) I will be grateful for problem reports and suggestions for better names.
172172

173173

174174

0 commit comments

Comments
 (0)