profun/README.md

31 lines
814 B
Markdown
Raw Permalink Normal View History

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)
* aeson (JSON parsing)
* 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)
* time (for getting date)
* process (for opening svg file)