[racket] srfi usage within Racket

From: John Clements (clements at brinckerhoff.org)
Date: Wed Apr 4 11:52:29 EDT 2012

On Apr 4, 2012, at 8:17 AM, Neil Toronto wrote:

> On 03/27/2012 01:46 PM, Neil Van Dyke wrote:
>> Rodolfo Carvalho wrote at 03/27/2012 03:27 PM:
>>> Actually, I wonder if people use any srfi much?
>> Some people still use SRFIs with Racket (I don't anymore), but usually
>> Racket has somewhat better comparable features separate from SRFIs,
>> either built-in or in PLaneT.
> Contrary to this, both the `plot' and `db' libraries use SRFI-19 - "Time Data Types and Procedures". I don't know what `db' uses it for, but `plot' uses it to format dates and times. This is one rare case where Racket's built-in library isn't as full-featured as a SRFI.

Along these lines, I find the continued necessity of SRFI 19 frustrating, and I'd like to make its functionality available in the core.

In my experience, the utility of SRFI 19 falls into two categories

1) conversion to and from strings (especially "from"), and
2) free conversion between dates, seconds, and julian dates.

Are there other things that people use SRFI 19 for?


Posted on the users mailing list.