Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
tf.tofu:tofu-optics-macro_2.12
Advanced tools
Opinionated set of tools for functional programming in Scala
Functional programming toolkit aimed at taming the complexity of Tagless Final approach.
examples
directoryTo use the whole utils pack just add to your build.sbt
:
libraryDependencies += "tf.tofu" %% "tofu" % "latest version in badge"
Of course, you can also specify an exact list of tofu
modules that you want to add to your dependencies (used in place
of "tofu"
):
tofu-kernel
for core independent utils
tofu-kernel-cats-mtl
for interop between tofu-kernel
and Cats MTLtofu-core-*
for core utils (replace suffix *
with ce2
or ce3
depends on which cats-effect version you use)tofu-core-higher-kind
for higher kinded utilstofu-concurrent
for concurrent utilstofu-config
for config utilstofu-data
for data utilstofu-derivation
for derivation utils and derevo annotationstofu-doobie
for Doobie utilstofu-enums
for Enumeratum utilstofu-env
for Env
(a variation of a Reader Monad based on Monix Task)tofu-fs2-interop
for interop with fs2tofu-streams
for streaming utilstofu-logging
for the whole set of logging utils (derivation, layout, structured, util, interop)
tofu-logging-derivation
for logging derivation onlytofu-logging-layout
for logging layout onlytofu-logging-structured
for logging structured onlytofu-logging-util
for logging util onlytofu-logging-refined
for interop between tofu-logging and Refinedtofu-logging-shapeless
for interop between tofu-logging and Shapeless tagtofu-logging-log4cats
for interop with Log4Catstofu-memo
for caching utilstofu-observable
for monix.reactive.Observable
utilstofu-optics-core
for optics core (Optics typeclasses)tofu-optics-interop
for optics interop with Monocletofu-optics-macro
for macro optics generatorstofu-zio-interop
for interop with ZIO (core, logging)
tofu-zio-core
for ZIO instances onlytofu-zio-logging
for ZIO logging onlyProud user of ToFu? Feel free to add your company!
Please note we use the following labels for automated release descriptions:
chore
if your PR does not change any types and runtime semanticsfix
if your PR merely fixes incorrect behaviorWe have an automated check for style conformance. You can run sbt checkfmt
before PR.
If you have any trouble during this check, just run sbt fmt
and commit again.
Copyright the maintainers, 2019-2021
Logos made with love by @impurepics
FAQs
Opinionated set of tools for functional programming in Scala
We found that tf.tofu:tofu-optics-macro_2.12 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.