Age | Commit message (Collapse) | Author |
|
* rent.scm (cycling-distance): Use ~f instead of ~a while formatting
latitudes and longitudes.
|
|
format is simpler and more readable, in this case.
* rent.scm (cycling-distance): Construct OSRM URL using format.
|
|
* rent.scm (date): New function.
|
|
* rent.scm (make-date-comparer, date<=?, date>=?): New functions.
|
|
* rent.scm (main): Re-indent.
|
|
* rent.scm (list-house): Print "available from" date.
|
|
Previously, work coordinates were implicit in cycling distance
computation. Pass it explicitly as an argument.
* rent.scm (house-cycling-distance): Rename to ...
(cycling-distance): ... this. Pass start and end points explicitly.
(list-house): Use cycling-distance instead of house-cycling-distance.
|
|
* rent.scm (date+): New function.
(all-houses): Use date+.
(http-get*): Use current-time from (srfi srfi-19).
|
|
* rent.scm: Add docstrings for functions that don't have them.
|
|
The HTML specifying the maximum tenants has changed
slightly. Adapt.
* rent.scm (house-maximum-tenants): Adapt to latest HTML.
|
|
* rent.scm (call-with-atomic-output-file): New function.
(http-get*): Use call-with-atomic-output-file instead of
call-with-output-file.
|
|
* README.org: Mention OpenStreetMap.
|
|
|