[racket] property pict-convertible in typed racket

From: Daniele Capo (capo.daniele at gmail.com)
Date: Fri Sep 13 03:42:39 EDT 2013


in a personal project I'm working on I've some structure that has to be
printed 'graphically'.
I've used prop:pict-convertible to do this, now I'd like to try to rewrite
the code in typed racket, but it seems that I can't use the #:property
options in typed struct:

The only way I've found to do the same thing was to define the struct in an
untyped module than use require/typed in a typed module.
Is there another way to define  structure that can be printed as a shape?


daniele capo
viale iv novembre, 8/a
01100 viterbo

via mazzetta, 10
01100 viterbo

tel. (+39) 328.30.51.751

my (new) website: http://www.danielecapo.com
daniele’s flickr page: http://www.flickr.com/photos/danielecapo/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130913/3153d95b/attachment-0001.html>

Posted on the users mailing list.