typed_struct icon indicating copy to clipboard operation
typed_struct copied to clipboard

Extension for records

Open saleynik opened this issue 2 years ago • 1 comments

Could you extend this library for defining Record's? E.g. presently:

Record.defrecord(:conn, [
    name:         nil,
    pid:          nil,
    mon:          nil
  ])

  @type conn :: record(:conn, [
    name:         atom,
    pid:          pid,
    mon:          reference
  ])

saleynik avatar Jun 28 '22 03:06 saleynik

Indeed, for communicating with other BEAM languages, or storing in Mnesia, this would be useful.

ejpcmac avatar Jul 16 '22 18:07 ejpcmac