package tiny_appkits

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module LedgerSource

Sourcetype status =
  1. | Open
  2. | Cleared
  3. | Reconciled
Sourcetype txn = {
  1. date : Civil.date;
  2. num : string;
  3. payee : string;
  4. category : string;
  5. memo : string;
  6. amount : Money.cents;
  7. status : status;
}
Sourceval date_of_string : string -> Civil.date option
Sourceval date_to_string : Civil.date -> string
Sourceval sort : txn list -> txn list
Sourceval balances : txn list -> (txn * Money.cents) list
Sourceval quickfill : txn list -> string -> txn option
Sourceval by_category : txn list -> (string * Money.cents) list
Sourceval next_check : txn list -> string