better return value

This commit is contained in:
Mike J Innes 2017-05-03 19:13:33 +01:00
parent c9dcc815dc
commit 51bf904179

View File

@ -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)