back to the school

src/Apply.fs

   1  module Apply
   2  
   3  /// One entry changes a balance by its delta.
   4  /// A credit is positive and a debit is negative.
   5  let apply (balance: int) (delta: int) =
   6    balance + delta
   7  
   8  /// The identity entry leaves the balance alone.
   9  let zero = 0
  10