daphne-project / daphne-project/daphne
Optional parameters in DaphneDSL UDFs
Open
- Dominant language
- C++
- Stars
- 81
- Forks
- 83
- PR merge metrics
- No merged PRs in 30d
Description
User-defined functions in DaphneDSL should support optional parameters with default values.
Example:
```
def foo(x, y = 0) {...}
def bar(x, y:si64 = 0) {...}
def baz(x, y:matrix = seq(1, 10, 1)) {...}
```
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by locating the DaphneDSL UDF implementation and use the three examples as acceptance cases: untyped, typed, and expression-valued default parameters should all be supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100