Copyright | (c) Leon Medvinsky, 2015 |
---|---|
License | GPL-3 |
Maintainer | lmedvinsky@hotmail.com |
Stability | experimental |
Portability | ghc |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- data Training candidate score result
- = StillTraining candidate (score -> Training candidate score result)
- | DoneTraining result
- trainSingle :: a -> Training a b b
- trainTraversable :: Traversable t => t a -> Training a b (t b)
Documentation
data Training candidate score result Source
Training structure. The idea is that if it is StillTraining
, it is
presenting you with something that must have its score evaluated, and
a way to advance the training by providing that score. If it is DoneTraining
,
everything has been iterated through.
StillTraining candidate (score -> Training candidate score result) | |
DoneTraining result |
trainSingle :: a -> Training a b b Source
trainTraversable :: Traversable t => t a -> Training a b (t b) Source