New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KvpValue::Type::LIST and KvpFrame <-> SCM #1311
KvpValue::Type::LIST and KvpFrame <-> SCM #1311
Conversation
2420b6e
to
ef0a718
Compare
An alternate mapping would be: scheme hash table to/from KVP frames, and scheme lists to/from GNC_TYPE_LIST. The main disadvantage in this case is that hash tables are less readable in scheme. Otherwise it's a better mapping. |
c5025fa
to
9304afe
Compare
So we have two options:
There's potentially a third option which offers the readability of lists in guile:
This is possible because there's no direct mapping of SCM pair onto any KvpValue type. So, the scm_to_kvp_value_ptr test will be |
3a9b5b7
to
ce9cfca
Compare
ce9cfca
to
221f77d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good start.
d26c0ad
to
6d77c3c
Compare
6d77c3c
to
7a2cfde
Compare
a0de54d
to
1c79918
Compare
… frame returns a KvpFrame into a nested list of pairs returns a KvpValue GLIST into a list
1c79918
to
40d5db4
Compare
gncEntry precision bugsmoved to gncEntry and invoice plugin page #1312outputs