[racket-dev] Custom write for flvector?

From: Neil Toronto (neil.toronto at gmail.com)
Date: Mon May 28 15:18:16 EDT 2012

Would it break anything to have flvectors print nicely? For example:

 > (flvector 1.0 2.0 3.0)
(flvector 1.0 2.0 3.0)

I've been working on publicizing/documenting the floating-point bitmaps 
module used internally in `images'. I realized that flvectors are the 
right data type for sending/receiving RGB triples, ARGB quads, and 
whatnot. Printing all of them as `#<flvector>' makes them hard to use in 
the REPL, though.

If the answer is "it won't break anything," I'd be happy to do the work.

Neil ⊥

Posted on the dev mailing list.