better return value
This commit is contained in:
parent
c9dcc815dc
commit
51bf904179
@ -86,7 +86,7 @@ end
|
|||||||
function process_def(ex)
|
function process_def(ex)
|
||||||
# TODO: make a singleton net type
|
# TODO: make a singleton net type
|
||||||
@capture(ex, f_(xs__) = body_)
|
@capture(ex, f_(xs__) = body_)
|
||||||
:($(esc(f)) = @net $(esc(:(($(xs...),) -> $body))))
|
:($(esc(f)) = @net $(esc(:(($(xs...),) -> $body))); nothing)
|
||||||
end
|
end
|
||||||
|
|
||||||
macro net(ex)
|
macro net(ex)
|
||||||
|
Loading…
Reference in New Issue
Block a user