[Haskell-cafe] how would I do this properly in Haskell?

John Wiegley johnw at newartisans.com
Fri Aug 25 04:13:21 UTC 2017


>>>>> "DR" == Dennis Raddle <dennis.raddle at gmail.com> writes:

DR> I have a search optimization problem in which there are a lot of
DR> individual fitness functions which combine scores to give an overall
DR> fitness level.

DR> Each fitness function will be associated with data, both initial data to
DR> configure it, and a cache that it maintains.

This sounds a lot like a network of Moore machines, which could be combined
monoidally to arrive at the final fitness function.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2


More information about the Haskell-Cafe mailing list