aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-09-26Add date constructor.Arun Isaac
* rent.scm (date): New function.
2023-09-26Add date comparison predicates.Arun Isaac
* rent.scm (make-date-comparer, date<=?, date>=?): New functions.
2023-09-26Re-indent main expression.Arun Isaac
* rent.scm (main): Re-indent.
2023-09-26Print "available from" date in house listing.Arun Isaac
* rent.scm (list-house): Print "available from" date.
2023-09-26Specify points explicitly in distance computation.Arun Isaac
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.
2023-09-26Convert "available from" to date object.Arun Isaac
* rent.scm (date+): New function. (all-houses): Use date+. (http-get*): Use current-time from (srfi srfi-19).
2023-09-26Add docstrings.Arun Isaac
* rent.scm: Add docstrings for functions that don't have them.
2023-09-26Adapt maximum tenants extraction to latest HTML.Arun Isaac
The HTML specifying the maximum tenants has changed slightly. Adapt. * rent.scm (house-maximum-tenants): Adapt to latest HTML.
2023-09-25Ensure atomic writes to cache.Arun Isaac
* rent.scm (call-with-atomic-output-file): New function. (http-get*): Use call-with-atomic-output-file instead of call-with-output-file.
2022-12-11Mention OpenStreetMap in README.Arun Isaac
* README.org: Mention OpenStreetMap.
2022-12-11Initial commitArun Isaac