Mauro <[email protected]> wrote: > yes, this just binds a function to a variable. This also works: > > julia> foo() = 1 > foo (generic function with 1 method) > > julia> bar = foo > foo (generic function with 1 method) > > julia> bar = 2 > 2
OK, so IIUC, defining a toplevel function is not strictly equivalent to assigning an anonymous function to a name. Put it differently, the "first" name for a global function plays a particular role. -- ELS'16 registration open! http://www.european-lisp-symposium.org Lisp, Jazz, Aïkido: http://www.didierverna.info
