Skip to content

Instantly share code, notes, and snippets.

Fil Mackay filmackay

Block or report user

Report or block filmackay

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am filmackay on github.
  • I am filmackay (https://keybase.io/filmackay) on keybase.
  • I have a public key whose fingerprint is 8482 9981 4B30 86AA 3823 88BF 7D9F D9F5 CA27 84B8

To claim this, I am signing this object:

@filmackay
filmackay / gist:9061231
Created Feb 17, 2014
Differences in named v anonymous code generation
View gist:9061231
function o1()
function f1(i); i; end
end
function o2()
f2(i) = i
end
function o3()
f3 = function(i); i; end
end
function o4()
@filmackay
filmackay / tparse.jl
Created Feb 13, 2014
Typed parsing of JSON
View tparse.jl
import JSON
function tparse{T}(::Type{T}, json::String)
return eval(parse(json))::T
end
function tparse(::Type{DataType}, json::String)
eval(symbol(json))::DataType
end
You can’t perform that action at this time.