On Mon, Feb 17, 2014 at 12:35 AM, Fil Mackay <[email protected]>wrote:
> On Mon, Feb 17, 2014 at 2:52 PM, Jake Bolewski <[email protected]>wrote: > >> You are pointing out differences in the parsed AST. As Jameson said the >> two forms are equivent and will get lowered by the compiler to the same >> code. I suggest browsing though Julia's type inference / compiler code to >> get a better overview of how things work under the hood. >> > > I am also seeing significant differences in LLVM and native code. I don't > want to keep chasing this, but is there no surprises in the fact that the > typing is inferred differently. While conceptually they look identical, > lambda and function seem to result in different code and type inference is > operating differently. > I'm curious how you're seeing this since none of our code introspection functions work on anonymous functions like the ones being discussed above.
