COMP3141
COMP3141: Software System Design and Implementation Study Notes (by V-Wong)
dep-t
Dependency injection for records-of-functions. (by danidiaz)
COMP3141 | dep-t | |
---|---|---|
1 | 2 | |
9 | 8 | |
- | - | |
0.0 | 0.0 | |
almost 3 years ago | about 1 year ago | |
Haskell | Haskell | |
- | 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.
COMP3141
Posts with mentions or reviews of COMP3141.
We have used some of these posts to build our list of alternatives
and similar projects.
-
COMP3141 and COMP3121
Hi, I did COMP3141 last year before Liam left, so I'm not too sure how much the course content has changed since. Assuming the same content I have written notes that you can find here.
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 COMP3141 and dep-t you can also consider the following projects:
perhaps - A monad, perhaps.
dep-t-advice - Giving good advice to functions in records-of-functions.
monad-control - Lift control operations, like exception catching, through monad transformers
mtl - The Monad Transformer Library
operational - Implement monads by specifying instructions and their desired operational semantics.
registry - Components as records of functions for Haskell
monad-memo - Memoization monad transformer
dunai - Classic FRP, Arrowized FRP, Reactive Programming, and Stream Programming, all via Monadic Stream Functions