Here, I added aliases, you can use either:
https://bitbucket.org/blais/beancount/commits/217359e73290e957b7f36ad370e8005771f4b7d2

(In the next version of the shell, I'll clean up all the function list, the
next shell version will be a major shakeup, beyond Beancount. I'll fork out
the shell so it can work on other (non-Beancount) datasets, and applying it
to Beancount will provide virtual tables per directive type, e.g., SELECT
... FROM transactions ...., SELECT ... FROM price ...., etc. The current
shell version was always intended to be experimental - it's fairly
undertested - the purpose was to find out what people find necessary and
I've already been had a very liberal attitude about adding new stuff to it.
Its list of functions and design is therefore somewhat less than ideal.)



On Thu, Mar 22, 2018 at 8:10 PM, Martin Blais <[email protected]> wrote:

> Actually, if I remember now, the term "commodity" was intended to be used
> for currencies which have at least one instance of being held at cost.
> In practice this distinction never made a difference and we can treat
> those interchangeably.
>
>
>
> On Sat, Mar 17, 2018 at 5:50 PM, Martin Blais <[email protected]> wrote:
>
>> Yes, the terms have been used interchangeably, I believe, as in Ledger
>> (historical reasons).
>> There's no particular reason.
>> Perhaps in the very beginning it wasn't clear whether those two subsets
>> of "commodities" should be differentiated (they don't have to).
>> In the source code I'm /mostly/ using "currency" but it's not a nice
>> choice, as it's not common usage for other types of commodities, e.g.
>> stocks.
>> I should use "commodity" everywhere, at least in the shell and in the
>> docs.
>>
>>
>> On Fri, Mar 16, 2018 at 12:59 PM, Martin Michlmayr <[email protected]>
>> wrote:
>>
>>> I believe I read that beancount uses "commodity" and "currency"
>>> interchangeably.
>>>
>>> But then I see:
>>>
>>>   'COMMODITY_META(str)': Get the metadata dict of the commodity
>>> directive of the currency.
>>>
>>>   'CURRENCY(Amount)': Extract the currency from an Amount.
>>>
>>> Why are different terms used?
>>>
>>> --
>>> Martin Michlmayr
>>> http://www.cyrius.com/
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Beancount" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/beancount/20180316165911.uexuoie2zkyfvq2s%40jirafa.cyrius.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhN7_H%2B9BExn8CWZ2yQwUvyMFOUhnOFEQb3-3PWuf02-%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to