I'm not sure why it doesn't work for you. Writing `X = function(stuff) end` works just fine for me. (note too that the `::Function` is completely irrelevant to the compiler and can be omitted for brevity)