[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GADT printer patch



Depends on why you need your "%f" but if that may be of some interest Gg has a 
(slow) lossless float pretty printer that doesn't use "%f":

https://github.com/dbuenzli/gg/blob/master/src/gg.ml#L186

The actual string representation is documented here:

http://erratique.ch/software/gg/doc/Gg.Float.html#printers

But it's not really for human consumption. 

Best,

Daniel





 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.