mirror of
https://github.com/logos-storage/questionable.git
synced 2026-01-02 13:53:11 +00:00
* tuple binding and unpacking support * support tuple binding in nim < 1.6 * Use ? instead of Option[] in tests * Test binding of optional tuple, not just tuple * Add tests for tuple unpacking of Result * Remove unused import * Rearrange tuple binding code Introduce separate proc for creation of unpacking statement. Use `quote do` to make code as similar as possible to the `bindLet` and `bindVar` templates. * Add tests for failed tuple bindings --------- Co-authored-by: Mark Spanbroek <mark@spanbroek.net>