@brunoro I saw you were asking about types in defrecordp. For now, you will have to write it like this:

```elixir
defrecordp :doc_cons, left: DocNil, right: DocNil
@type doc_cons :: { :doc_cons, DocNil, DocNil }
```

I will try to work on the feature that improves this over the weekend and I will let you know. If I can't make it, the approach I mentioned should be just fine.