Welcome to the CHICKEN Scheme pasting service

comparse-tutorial added by buhman on Tue Nov 13 09:24:27 2018

;; Very well! Now we do the same for full-time, time-numoffset and time-offset:

(define partial-time
  (sequence* ((hour time-hour)
              (_ (is #\:))
              (minute time-minute)
              (_ (is #\:))
              (second time-second)
              (secfrac (maybe time-secfrac)))
             (result (list hour minute second secfrac))))

(define full-time
  (sequence partial-time time-offset))

; time-numoffset unchanged

; time-offset unchanged

;; And finally we can put together the new date-time

(define date-time
  (sequence* ((date full-date)
              (_ (is #\T))
              (time full-time))
             (result (list 'rfc3339-timestamp
                           date
                           time))))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What's the result of `(apply + (list -3 4 2))'?
Visually impaired? Let me spell it for you (wav file) download WAV