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:
parent
fa0bcecdd7
commit
a96a520557
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user