mps: message passing style helpers

[ bsd3, deprecated, development, library ] [ Propose Tags ] [ Report a vulnerability ]
Deprecated in favor of air

message passing style helpers


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0, 0.0.0.1, 0.0.0.1.1, 2008.9.19, 2008.9.20, 2008.10.14, 2008.10.15, 2008.10.25, 2008.11.6, 2009.4.20, 2009.4.21, 2009.4.50, 2009.5.13, 2009.6.25, 2009.7.2, 2009.7.4, 2009.8.16, 2009.8.18, 2009.8.18.1, 2009.9.18, 2009.11.7, 2010.1.24, 2010.1.24.1, 2010.1.26, 2010.2.25, 2010.5.29, 2010.11.28
Change log changelog.markdown
Dependencies array, base, bytestring (>=0.9), containers, directory, fgl, interpolatedstring-qq, pandoc, parallel, parsec (>=2), QuickCheck, regexpr (>=0.3.4), time, utf8-string (>=0.3.3) [details]
License LicenseRef-GPL
Author Wang, Jinjing
Maintainer Wang, Jinjing <nfjinjing@gmail.com>
Category Development
Home page http://github.com/nfjinjing/mps/
Uploaded by JinjingWang at 2009-04-20T21:27:50Z
Distributions
Reverse Dependencies 17 direct, 24 indirect [details]
Downloads 18393 total (59 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for mps-2009.4.21

[back to package description]

Message Passing Style Haskell Toolkit

Example

OO (duck) Syntax

euler_1 = ( [3,6..999] ++ [5,10..999] ).unique.sum

Parallel map reduce

p_eval' xs                  = xs.pseq( xs.reduce par )
p_reduce' op xs             = xs.p_eval'.reduce op

p_map_reduce_to n m r xs    = xs.split_to(n).map(m).p_reduce'(r)
p_map_reduce m r xs         = p_map_reduce_to 16 m r xs