diff options
| author | 3gg <3gg@shellblade.net> | 2025-05-10 19:03:31 -0700 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2025-05-10 19:03:31 -0700 |
| commit | ef122cad4efbe67385dd20dbac82d03b501ed670 (patch) | |
| tree | 26de6cc2f9d758b532658df6f178363cf13f19b1 | |
| parent | b1ec5525bcf2fb101c57d93beeba26c8c4420638 (diff) | |
Fix void, update installation instructions
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | Spear/Game.hs | 1 |
2 files changed, 2 insertions, 1 deletions
| @@ -12,7 +12,7 @@ Installation (Ubuntu) | |||
| 12 | Install dependencies, then build with cabal: | 12 | Install dependencies, then build with cabal: |
| 13 | 13 | ||
| 14 | ``` | 14 | ``` |
| 15 | $ sudo apt install libxxf86vm-dev libglfw3-dev libopenal-dev libopenalut-dev | 15 | $ sudo apt install libxxf86vm-dev libxinerama-dev libglfw3-dev libglu1-mesa-dev libopenal-dev libalut-dev |
| 16 | $ cabal build | 16 | $ cabal build |
| 17 | ``` | 17 | ``` |
| 18 | 18 | ||
diff --git a/Spear/Game.hs b/Spear/Game.hs index ae986c8..fddefef 100644 --- a/Spear/Game.hs +++ b/Spear/Game.hs | |||
| @@ -32,6 +32,7 @@ module Spear.Game | |||
| 32 | ) | 32 | ) |
| 33 | where | 33 | where |
| 34 | 34 | ||
| 35 | import Data.Functor (void) | ||
| 35 | import Control.Monad.Catch | 36 | import Control.Monad.Catch |
| 36 | import Control.Monad.State.Strict | 37 | import Control.Monad.State.Strict |
| 37 | import Control.Monad.Trans.Class (lift) | 38 | import Control.Monad.Trans.Class (lift) |
