perhaps
A monad, perhaps. (by ekmett)
dep-t
Dependency injection for records-of-functions. (by danidiaz)
Our great sponsors
perhaps | dep-t | |
---|---|---|
- | 2 | |
33 | 8 | |
- | - | |
0.0 | 0.0 | |
about 4 years ago | about 1 year ago | |
Haskell | Haskell | |
BSD 2-clause "Simplified" 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.
perhaps
Posts with mentions or reviews of perhaps.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning perhaps yet.
Tracking mentions began in Dec 2020.
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 perhaps and dep-t you can also consider the following projects:
monad-memo - Memoization monad transformer
dep-t-advice - Giving good advice to functions in records-of-functions.
COMP3141 - COMP3141: Software System Design and Implementation Study Notes
mtl - The Monad Transformer Library
tagged-identity - Trivial monad transformer that allows identical monad stacks have different types
operational - Implement monads by specifying instructions and their desired operational semantics.