Popularity
1.6
Declining
Activity
0.0
Stable
0
3
0
Monthly Downloads: 3
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags:
Data
Latest version: v0.1.0.0
onpartitions alternatives and similar packages
Based on the "Data" category.
Alternatively, view onpartitions alternatives based on common mentions on social networks and blogs.
-
streaming
An optimized general monad transformer for streaming applications, with a simple prelude of functions
InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
Promo
www.influxdata.com
Do you think we are missing an alternative of onpartitions or a related project?
README
Modification of part of a list, in place, as a whole.
This code is semantically equivalent to the application of over on partsOf from the great Control.Lens.
Aside being free of dependencies, the main feature is the possibility of changing the type by remapping everything to Either
Reverse multiple of 3 and show them , in place.
> :m + Data.Bool
> :m + Data.List.OnPartition
> onPartitionG (flip (bool Left Right) <*> (==) 0 . flip mod 3) (map show . reverse) [1..10]
[Left 1,Left 2,Right "9",Left 4,Left 5,Right "6",Left 7,Left 8,Right "3",Left 10]
>