between
It turns out that this combinator is a powerful thing. It was abstracted from following (commonly used) pattern f . h . g where f and g are fixed. This library not only defines ~@~ combinator, but also some derived combinators that can help us easily define a lot of things including lenses. See lens package for detais on what lenses are. Function Data.Function.on can be implemented using ~@~ as: If function on3 existed in base then it could be defined as: Other usage examples and documentation can be found in Data.Function.Between module.
Ecosystem
hackage.haskell.org
hackage.haskell.org
Latest Release
over 10 years ago
0.11.0.0
over 10 years ago
Versions
5
5
Downloads
5,548 total
5,548 total
Dependent Repos
17
17
Loading...
Readme
Loading...
Links
| Registry | hackage.haskell.org |
| Source | Repository |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:hackage/between
spec |
| License | BSD-3-Clause |
| First Release | over 11 years ago |
| Last Synced | about 7 hours ago |
Repository
| Stars | 4 on GitHub |
| Forks | 2 on GitHub |