Julia Programming Language
How to ignore unnecessary function arguments?
General Usage
Mason
December 8, 2022, 7:26pm
3
I’d just write
Foo(;a, b, c, kwargs...) = Foo(a, b, c)
that way,
Foo(; nt...)
works.
4 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Save kwargs in struct field to be used later in function calls
General Usage
struct
,
kwargs
3
722
February 9, 2020
Smart kwargs... dispatch
New to Julia
kwargs
16
5138
March 30, 2020
Call function without Keywordarguments with an empty NamedTuple
General Usage
question
,
function
,
namedtuple
2
493
November 9, 2020
Easy way to define functions with specific NamedTuple arguments?
General Usage
5
1238
November 13, 2018
Named arguments in type
General Usage
syntax
2
542
October 30, 2017