getodk / getodk/xforms-spec

Add variadic coalesce

Open
#316 0 comments 0 reactions 0 assignees View on GitHub
needs discussion
Dominant language
CSS
Stars
34
Forks
28
Avg merge
27m
Merged PRs (30d)
1

Description

Currently `coalesce` can only take two values as arguments. It's relatively common to need to coalesce multiple values. This involves writing nested `coalesce` calls.

`concat` is a similar accumulator function. It has a variadic variant which is very helpful. It would be helpful to do the same with `coalesce`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the specification's definition of coalesce and the variadic variant of concat. Compare how the two functions describe their arguments, then define the expected variadic coalesce behavior in the specification. Done means the specification clearly supports coalescing multiple values without nested calls.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.