Skip to content

Instantly share code, notes, and snippets.

@deinst
deinst / kabloey.jl
Created June 3, 2014 04:30
Including this file a couple of times will send the julia repl into an infinite loop.
module kablooey
import Base: start, done, next, show, ==
import Base: length, isempty, size, getindex, isless
abstract AbstractGraph{V, E}
vertex_type{V,E}(g::AbstractGraph{V,E}) = V
edge_type{V,E}(g::AbstractGraph{V,E}) = E