{"size": 1619, "ext": "scrbl", "max_stars_repo_path": "share/pkgs/compatibility-doc/mzlib/scribblings/serialize.scrbl", "max_stars_repo_name": "takikawa/racket-ppa", "max_stars_repo_stars_event_min_datetime": "2018-07-29T04:13:52.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-14T16:11:17.000Z", "max_issues_repo_path": "compatibility-doc/mzlib/scribblings/serialize.scrbl", "max_issues_repo_name": "NoahStoryM/compatibility", "max_issues_repo_issues_event_min_datetime": "2017-08-25T20:26:37.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T17:48:40.000Z", "max_forks_repo_path": "compatibility-doc/mzlib/scribblings/serialize.scrbl", "max_forks_repo_name": "NoahStoryM/compatibility", "max_forks_repo_forks_event_min_datetime": "2015-03-09T12:20:01.000Z", "max_forks_repo_forks_event_max_datetime": "2021-10-09T05:02:56.000Z"}
{"max_stars_count": 10, "max_issues_count": 15, "max_forks_count": 8, "avg_line_length": 40.475, "max_line_length": 89, "alphanum_fraction": 0.6275478691}
#lang scribble/doc
@(require "common.rkt"
          (for-label mzlib/serialize))

@(begin
   (define-syntax-rule (bind id id2)
     (begin
       (require (for-label racket/serialize))
       (define id (racket define-serializable-struct))
       (define id2 (racket define-serializable-struct/versions))))
   (bind racket-define-serializable-struct
         racket-define-serializable-struct/versions))

@mzlib[#:mode title serialize]

@deprecated[@racketmodname[racket/serialize]]{}

The @racketmodname[mzlib/serialize] library provides the same bindings
as @racketmodname[racket/serialize], except that
@racket[define-serializable-struct] and
@racket[define-serializable-struct/versions] are based on the syntax
of @racket[define-struct] from @racketmodname[mzscheme].

@deftogether[(
@defform[(define-serializable-struct id-maybe-super (field-id ...) maybe-inspector-expr)]
@defform/subs[(define-serializable-struct/versions id-maybe-super vers-num (field-id ...)
                                                   (other-version-clause ...)
                                                   maybe-inspector-expr)
              ([id-maybe-super id
                               (id super-id)]
               [maybe-inspector-expr code:blank
                                     inspector-expr]
               [other-version-clause (other-vers make-proc-expr 
                                                 cycle-make-proc-expr)])]
)]{

Like @racket-define-serializable-struct and
@racket-define-serializable-struct/versions, but with the syntax of
closer to @racket[define-struct] of @racketmodname[mzscheme].}
