dep-t-advice
Giving good advice to functions in records-of-functions. (by danidiaz)
dep-t
Dependency injection for records-of-functions. (by danidiaz)
dep-t-advice | dep-t | |
---|---|---|
1 | 2 | |
0 | 8 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | about 1 year ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dep-t-advice
Posts with mentions or reviews of dep-t-advice.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-22.
dep-t
Posts with mentions or reviews of dep-t.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-22.
-
Application-managed call stacks, without polluting the business logic
dep-t and dep-t-advice are libraries containing various helpers and utilities for this style of programming. In particular, "dep-t-advice" tries to support what is sometimes called "aspect-oriented programming". In less fancy terms, it provides function decorators that work on functions of any number of arguments. As the functional pearl The Decorator Pattern in Haskell says,
-
Monad Architecture :: Haskell Weekly podcast
I would argue that passing the context as a positional parameter doesn't have to be tedious. Recently I've been experimenting with ReaderT-less architectures, for example here.
What are some alternatives?
When comparing dep-t-advice and dep-t you can also consider the following projects:
tagged-identity - Trivial monad transformer that allows identical monad stacks have different types
COMP3141 - COMP3141: Software System Design and Implementation Study Notes
perhaps - A monad, perhaps.
mtl - The Monad Transformer Library
persistent-mtl - Monad transformers for the persistent library
registry - Components as records of functions for Haskell
operational - Implement monads by specifying instructions and their desired operational semantics.