We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9a47b0 commit 43bd51fCopy full SHA for 43bd51f
src/options.jl
@@ -20,6 +20,12 @@ function with_options(f, options::NamedTuple)
20
end
21
with_options(f; options...) = with_options(f, NamedTuple(options))
22
23
+function _without_options(f)
24
+ with(options_context => NamedTuple()) do
25
+ f()
26
+ end
27
+end
28
+
29
"""
30
get_options(key::Symbol, default) -> Any
31
get_options(key::Symbol) -> Any
0 commit comments