]> hydra-www.ietfng.org Git - grade/commit
Add support for section arguments in data file
authorNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Fri, 11 Sep 2015 23:57:26 +0000 (19:57 -0400)
committerNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Sat, 12 Sep 2015 03:25:07 +0000 (23:25 -0400)
commit9c3e91adf4814f8d9f6f862518efb7bf5b9b20f6
tree57b8781af4fb0734f6dcbf4166c33bf0a7024eb0
parentd90caf3bbaf3223cefa5d74421118c88c8cd4446
Add support for section arguments in data file

See Grade.Section.SectionOnly for an example of how this could be used.

While here, break SecCallback into a core and existential wrapper;
this makes it a little easier for the scoring modules to write down
meaningful types as a kind of machine-checked documentation.
15 files changed:
examples/data
examples/defines.conf
grade.cabal
lib/Grade/Grade.hs
lib/Grade/Parse.hs
lib/Grade/Score/Bounding.hs
lib/Grade/Score/EqualWeighted.hs
lib/Grade/Score/EqualWeightedCounting.hs
lib/Grade/Score/SectionOnly.hs [new file with mode: 0644]
lib/Grade/Score/Setting.hs
lib/Grade/Score/Simple.hs
lib/Grade/Score/Zeroing.hs
lib/Grade/Skeleton.hs
lib/Grade/Types.hs
prog/Grade.hs