1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00

Define maybeCost in Info.

This commit is contained in:
Rob Rix 2016-07-21 19:05:27 -04:00
parent fa0bcecdd7
commit a96a520557

View File

@ -25,6 +25,9 @@ setCategory = setField
cost :: HasField fields Cost => Record fields -> Cost
cost = getField
maybeCost :: Record fields -> Maybe Cost
maybeCost = maybeGetField
setCost :: HasField fields Cost => Record fields -> Cost -> Record fields
setCost = setField