summaryrefslogtreecommitdiff
path: root/doc/forum/Understanding_changesFile_equation/comment_1_eab28824f8cd1a03bcc16aee4e161643._comment
blob: 22bcc0148df848db399910f4d4562b15d6e887df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[[!comment format=mdwn
 username="joey"
 subject="""comment 1"""
 date="2016-02-24T21:09:52Z"
 content="""
`checkResult` is the key to understanding this. Its (simplified) type
signature:

	checkResult :: m a -> (a -> m Result) -> p i -> Property i

It's being given getstat as the first parameter. It runs that before the
property does anything, and it passes that value to comparestat.

So, oldstat is the getstat value from before the property did anything.
"""]]