{"size": 340, "ext": "scrbl", "max_stars_repo_path": "scribble-test/tests/scribble/docs/convertible.scrbl", "max_stars_repo_name": "cwebber/scribble", "max_stars_repo_stars_event_min_datetime": "2015-01-11T18:19:42.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-31T08:45:52.000Z", "max_issues_repo_path": "scribble-test/tests/scribble/docs/convertible.scrbl", "max_issues_repo_name": "cwebber/scribble", "max_issues_repo_issues_event_min_datetime": "2015-03-24T20:53:21.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-20T22:51:57.000Z", "max_forks_repo_path": "scribble-test/tests/scribble/docs/convertible.scrbl", "max_forks_repo_name": "cwebber/scribble", "max_forks_repo_forks_event_min_datetime": "2015-03-09T12:23:06.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-07T15:00:13.000Z"}
{"max_stars_count": 161, "max_issues_count": 260, "max_forks_count": 103, "avg_line_length": 15.4545454545, "max_line_length": 43, "alphanum_fraction": 0.5941176471}
#lang scribble/base
@(require file/convertible)

@(struct s ()
   #:property
   prop:convertible
   ;; Not actually convertible to anything:
   (lambda (v req default)
     default))

@(struct c ()
   #:property
   prop:convertible
   (lambda (v req default)
     (cond
       [(eq? req 'text) "hello"]
       [else default])))

@(s)

@(c)
