Skip to content

Instantly share code, notes, and snippets.

@ityonemo
Last active October 5, 2017 04:54
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ityonemo/6512f3b4fd02b9a9cc292cf0f88534c5 to your computer and use it in GitHub Desktop.
Save ityonemo/6512f3b4fd02b9a9cc292cf0f88534c5 to your computer and use it in GitHub Desktop.
#supson.jl
type ツ; end
_(::Type{ツ}) = ツ
*(::Type{ツ}, ::Function) = ツ
type ⎺; end
Base.:\(::Type{⎺},::Type{ツ}) = ツ
Base.:/(::Type{ツ},::Type{⎺}) = true
⎺\_(ツ)_/⎺ #==> true
nothing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment