2024-05-26 19:35:18 +02:00
|
|
|
## Programowanie funkcyjne 2024/SL
|
|
|
|
By: Szymon Szczubkowski 473558 & Kacper Topolski 473613
|
|
|
|
|
|
|
|
The app requires cabal to run.
|
|
|
|
|
|
|
|
Its purpose is to generate a chart of yesterday, today and tomorrow's temperature.
|
|
|
|
|
|
|
|
The output should be present under ./plot/weather.svg
|
|
|
|
|
|
|
|
![temperature chart](./plot/weather.svg)
|
|
|
|
|
2024-05-25 14:32:43 +02:00
|
|
|
### Run via:
|
|
|
|
|
|
|
|
`cabal run`
|
|
|
|
|
|
|
|
to get the needed dependencies.
|
|
|
|
|
|
|
|
|
|
|
|
### Dependencies
|
|
|
|
This project makes use of the following dependencies (specified in `profun.cabal`):
|
2024-05-25 20:21:38 +02:00
|
|
|
* http-client (for API requests)
|
|
|
|
* http-client-tls (for API requests)
|
|
|
|
* http-conduit (for API requests)
|
2024-05-25 20:25:24 +02:00
|
|
|
* aeson (JSON parsing)
|
2024-05-26 00:18:03 +02:00
|
|
|
* Chart (for generating plot)
|
|
|
|
* Chart-diagrams (for generating plot)
|
2024-05-25 21:14:54 +02:00
|
|
|
* bytestring (for ByteString type)
|
|
|
|
* utf8-string (for conversion from String to ByteString)
|
2024-05-26 00:18:03 +02:00
|
|
|
* time (for getting date)
|
2024-05-26 17:28:02 +02:00
|
|
|
* process (for opening svg file)
|