typed_struct icon indicating copy to clipboard operation
typed_struct copied to clipboard

An Elixir library for defining structs with a type without writing boilerplate code.

Results 13 typed_struct issues
Sort by recently updated
recently updated
newest added

It doesn't seem to be possible to define structs with private types. E.g.: ```elixir defstruct [ a: nil, b: nil ] @typep t :: %__MODULE__{ a: integer, b: binary }...

T:Feature

@ejpcmac, per your suggestion to create an issue, please consider adding and maintaining the CONTRIBUTERS file.

T:Documentation

I think it would be great if we could use the `typedstruct` macro in conjunction with Ecto. Right now Ecto does not create `@type t` for the struct, but it...

T:Feature