File: comment_1_eab28824f8cd1a03bcc16aee4e161643._comment

package info (click to toggle)
propellor 5.12-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,788 kB
  • sloc: haskell: 17,913; makefile: 58; perl: 38; sh: 28
file content (15 lines) | stat: -rw-r--r-- 467 bytes parent folder | download | duplicates (6)
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.
"""]]