Using Functions as Services in Effect

Hi, Effect looks really interesting as I'm trying to replace a system with a mostly type-less dependency injection container that's become unmanageable... Most of the services that my legacy app defines are just functions.

Can anyone give an example of a function as a service in Effect? All the doc examples seem to begin class ... extends Context.Tag() or similar.
Was this page helpful?