chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] Re: #121: srfi-19 dumps core in response to bad argum


From: Chicken Trac
Subject: [Chicken-janitors] Re: #121: srfi-19 dumps core in response to bad arguments
Date: Sun, 15 Nov 2009 20:23:18 -0000

#121: srfi-19 dumps core in response to bad arguments
-------------------------+--------------------------------------------------
 Reporter:  tonysidaway  |       Owner:       
     Type:  defect       |      Status:  new  
 Priority:  major        |   Milestone:       
Component:  extensions   |     Version:  4.2.x
 Keywords:  srfi-19      |  
-------------------------+--------------------------------------------------

Comment(by tonysidaway):

 The documentation of format-date  could be made more clear by specifying
 two alternative forms:


 [procedure] (format-date DESTINATION DATE-FORMAT-STRING [DATE])
 [procedure] (format-date DATE-FORMAT-STRING DATE)

 Alternatively the requirement to specify a date in the latter case could
 be dropped, and the current date and time could be taken as the default
 value, as in the first alternative form.

 Thus:

 [procedure] (format-date DESTINATION DATE-FORMAT-STRING [DATE])
 [procedure] (format-date DATE-FORMAT-STRING [DATE])

-- 
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/121#comment:1>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]