>>>>> Martin Blais <[email protected]> writes:

> I think other types of constraints should be added eventually, e.g. "check
> that the value of this account never goes under zero" for example, or that
> accounts should never be allowed to contain two lots of some commodity with
> differing signs.

This can be done with a "check" directive associated with the account:

    account Foo
        check amount > 0

John

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to