mirror of
https://github.com/fjvallarino/monomer.git
synced 2024-09-11 12:05:35 +03:00
Add setup instructions for Fedora (#3)
This commit is contained in:
parent
a57075dcbe
commit
66e9a70479
@ -54,6 +54,12 @@ pacman -S sdl2
|
||||
pacman -S glew
|
||||
```
|
||||
|
||||
#### Fedora
|
||||
|
||||
```bash
|
||||
sudo dnf install SDL2-devel glew-devel
|
||||
```
|
||||
|
||||
### Windows
|
||||
|
||||
Inside the sample project's directory:
|
||||
|
@ -23,7 +23,7 @@ data Book = Book {
|
||||
instance FromJSON Book where
|
||||
parseJSON = withObject "Book" $ \b -> Book
|
||||
<$> b .: "title"
|
||||
<*> fmap (fromMaybe []) (b .:? "author_name")
|
||||
<*> b .:? "author_name" .!= []
|
||||
<*> b .:? "first_publish_year"
|
||||
<*> b .:? "cover_i"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user