Skip to content

Instantly share code, notes, and snippets.

@AntonFagerberg
Created May 12, 2015 12:29
Show Gist options
  • Save AntonFagerberg/044662843c9b76977b21 to your computer and use it in GitHub Desktop.
Save AntonFagerberg/044662843c9b76977b21 to your computer and use it in GitHub Desktop.
defmodule Hello do
defstruct yo: ""
end
defimpl Inspect, for: Hello do
import Inspect.Algebra
def inspect(_thing, _opts) do
concat ["test"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment