packages feed

GTALib

A library for GTA programming

view on Hackage

This package provides the core functionalities of the GTA (Generate, Test, and Aggregate) programming framework on Haskell (c.f., Kento Emoto, Sebastian Fischer, Zhenjiang Hu: Generate, Test, and Aggregate - A Calculation-based Framework for Systematic Parallel Programming with MapReduce. ESOP 2012: 254-273. The authors' version is available at <http://www.ipl-lab.org/~emoto/ESOP2012.pdf>). /Example/ The following code is a GTA program to solve the 0-1 Knapsack problem (<http://en.wikipedia.org/wiki/Knapsack_problem>). It /appears to be an exponential cost/ proram in the number of input items, because it appears to generate all item selections by @subsP items@ (/Generate/), discard those with total weight heavier than the knapsack's capacity by @`filterBy` weightlimit capacity@ (/Test/), and take the most valuable selection by @`aggregateBy` maxsumsolutionWith getValue@ (/Aggregate/). However, it /actually runs in a linear time/ owing to our proposed program transformation 'Filter-embedding Semiring Fusion' implemented in the library. In addition, it runs in /parallel/ so that you can get linear speedup. > knapsack capacity items = > subsP items > `filterBy` weightlimit capacity > `aggregateBy` maxsumsolutionWith getValue > > getValue (_, v) = v > getWeight (w, _) = w > > weightlimit w = (<=w) <.> weightsum where > weightsum = homJ' times single nil > x1 `times` x2 = ( x1 + x2) `min` (w+1) > single i = getWeight i `min` (w+1) > nil = 0 Several examples of GTA programming are found in /examples/ directory at <https://bitbucket.org/emoto/gtalib/src>.
versionuploadeduploaderchanges
0.0.62012-06-08 13:13 UTCKentoEmoto+1258/−1160 lines, 8 filesPVP: major bump suggested
0.0.52012-06-07 09:43 UTCKentoEmoto+571/−73 lines, 7 filesPVP: major bump suggested
0.0.42012-05-28 12:24 UTCKentoEmoto+324/−55 lines, 5 filesdep +deepseqPVP: major bump suggested
0.0.32012-05-27 03:46 UTCKentoEmoto+4/−4 lines, 2 filesPVP: major bump suggested
0.0.22012-05-26 17:10 UTCKentoEmoto+26/−3 lines, 2 filesPVP ok
0.0.12012-05-25 17:50 UTCKentoEmoto+1452/−0 lines, 9 filesdep +GTALibdep +HUnitdep +basesetup-changed

Dependencies of GTALib-0.0.6

HUnit >=1.2.4.2 && <1.3 1.2.5.2 → 1.6.2.0 newer than bounds
2021-01-19 18:27 UTC1.6.2.0 newer than bounds+48/−42 lines, 5 filesdep ~call-stackPVP: major bump suggested
2020-10-31 12:09 UTC1.6.1.0 newer than bounds+35/−21 lines, 4 filesPVP ok
2017-03-20 01:42 UTC1.6.0.0 newer than bounds+9/−5 lines, 4 filesdep ~basePVP ok
2016-10-16 03:35 UTC1.5.0.0 newer than bounds+47/−27 lines, 5 filesPVP ok
2016-10-07 03:13 UTC1.4.0.0 newer than bounds+761/−778 lines, 12 filesdep +call-stackPVP ok

showing 5 of 22 versions

base >=4.3 && <4.6 4.5.1.0 → 4.22.1.0 newer than bounds
2026-12-01 12:38 UTC4.22.1.0 newer than bounds+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0 newer than bounds+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0 newer than bounds+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0 newer than bounds+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0 newer than bounds+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

containers >=0.4 && <0.6 0.5.11.0 → 0.8.1 newer than bounds
2026-10-04 06:08 UTC0.8.1 newer than bounds+8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested
2025-03-01 13:03 UTC0.8 newer than bounds+8447/−7031 lines, 37 filesnew-uploaderPVP ok
2023-09-27 12:15 UTC0.7 newer than bounds+76/−33 lines, 3 filesPVP ok
2023-09-28 04:21 UTC0.6.8 newer than bounds+644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested
2023-02-01 03:11 UTC0.6.7 newer than bounds+783/−229 lines, 20 filesPVP: major bump suggested

showing 5 of 43 versions

deepseq >=1.1 && <1.4 1.3.0.2 → 1.6.0.0 newer than bounds
2024-09-08 16:18 UTC1.6.0.0 newer than bounds+5/−14 lines, 3 filesdep ~basePVP ok
2025-06-14 22:25 UTC1.5.2.0 newer than bounds+13/−4 lines, 3 filesPVP: major bump suggested
2024-09-09 12:48 UTC1.5.1.0 newer than bounds+69/−14 lines, 3 filesdep −arraydep ~basePVP: major bump suggested
2023-07-27 19:32 UTC1.5.0.0 newer than bounds+619/−532 lines, 5 filesdep ~basePVP ok
2022-12-18 00:14 UTC1.4.8.1 newer than bounds+34/−9 lines, 3 filesdep ~basePVP: major bump suggested

showing 5 of 26 versions

parallel >=3.1 && <3.3 3.2.2.0 → 3.3.0.0 newer than bounds
2025-10-19 07:46 UTC3.3.0.0 newer than bounds+238/−198 lines, 5 filesdep −ghc-primdep ~basenew-uploaderPVP ok
2018-07-13 16:34 UTC3.2.2.0+156/−57 lines, 3 filesdep +ghc-primdep ~basedep ~containersdep ~deepseqPVP: major bump suggested
2017-04-08 16:27 UTC3.2.1.1+16/−4 lines, 3 filesdep ~basedep ~deepseqPVP: major bump suggested
2016-01-02 08:14 UTC3.2.1.0+42/−18 lines, 4 filesdep ~basePVP: major bump suggested
2014-12-28 10:14 UTC3.2.0.6+18/−8 lines, 4 filesPVP ok

showing 5 of 21 versions

template-haskell >=2.5 && <2.8 2.7.0.0 → 2.24.0.0 newer than bounds
2025-12-19 11:53 UTC2.24.0.0 newer than bounds+606/−68 lines, 9 filesdep +ghc-internaldep ~basedep ~ghc-boot-thPVP ok
2024-12-16 09:29 UTC2.23.0.0 newer than bounds+104/−5685 lines, 9 filesdep −ghc-primdep −prettydep ~basedep ~ghc-boot-thnew-uploaderPVP ok
2024-05-15 13:07 UTC2.22.0.0 newer than bounds+176/−81 lines, 7 filesdep ~basedep ~ghc-boot-thPVP ok
2023-10-10 00:23 UTC2.21.0.0 newer than bounds+275/−148 lines, 7 filesdep ~basedep ~ghc-boot-thPVP ok
2023-03-28 13:43 UTC2.20.0.0 newer than bounds+215/−139 lines, 9 filesdep −filepathdep ~basedep ~ghc-boot-thPVP ok

showing 5 of 26 versions

test-framework >=0.6 && <0.7 0.6.2 → 0.8.2.3 newer than bounds
2026-01-05 13:44 UTC0.8.2.3 newer than bounds+15/−15 lines, 3 filesdep −bytestringdep −old-localedep −semigroupsdep ~ansi-terminaldep ~ansi-wl-pprintdep ~hostnamePVP: major bump suggested
2025-04-11 08:21 UTC0.8.2.2 newer than bounds+34/−35 lines, 3 filesdep −libxmldep −utf8-stringdep ~QuickCheckPVP ok
2025-02-26 19:51 UTC0.8.2.1 newer than bounds+1700/−1542 lines, 55 filesdep +utf8-stringdep −base-orphansdep ~HUnitdep ~QuickCheckdep ~ansi-terminalsetup-changednew-uploaderPVP: major bump suggested
2017-12-30 17:50 UTC0.8.2.0 newer than bounds+134/−79 lines, 13 filesdep +base-orphansdep +semigroupsdep ~QuickCheckdep ~ansi-terminaldep ~ansi-wl-pprintsetup-changedPVP: major bump suggested
2015-01-09 04:04 UTC0.8.1.1 newer than bounds+7/−2 lines, 2 filesdep ~ansi-terminaldep ~timePVP ok

showing 5 of 34 versions

test-framework-hunit >=0.2.7 && <0.3 0.2.7 → 0.3.0.3 newer than bounds
2026-01-05 13:43 UTC0.3.0.3 newer than bounds+42/−40 lines, 4 filesdep −extensible-exceptionsdep ~HUnitdep ~basedep ~test-frameworksetup-changednew-uploaderPVP ok
2015-09-04 15:42 UTC0.3.0.2 newer than bounds+12/−4 lines, 2 filesdep ~HUnitnew-uploader
2013-10-09 00:28 UTC0.3.0.1 newer than bounds+10/−4 lines, 1 filesnew-uploader
2012-12-04 19:56 UTC0.3.0 newer than bounds+4/−1 lines, 2 filesdep ~test-frameworkPVP ok
2012-01-27 12:54 UTC0.2.7+5/−5 lines, 2 filesPVP ok

showing 5 of 12 versions

Reverse dependencies

1 packages depend on GTALib

acme-everything 2018.11.18 requires GTALib >=0