Skip to content

Commit

Permalink
Merge pull request #364 from expipiplus1/zero-unit
Browse files Browse the repository at this point in the history
  • Loading branch information
expipiplus1 authored Feb 7, 2022
2 parents 64a98de + 237ce89 commit 45d79ef
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## WIP

## [3.16.2] - 2022-02-07
- Zero instance for ()

## [3.16.1] - 2022-02-05
- Bump API version to v1.3.205

Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: vulkan
version: "3.16.1"
version: "3.16.2"
synopsis: Bindings to the Vulkan graphics API.
description: Please see [the readme](https://github.com/expipiplus1/vulkan/#readme)
category: Graphics
Expand Down
3 changes: 3 additions & 0 deletions src-manual/Vulkan/Zero.hs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ import Data.Word (Word8)
class Zero a where
zero :: a

instance Zero () where
zero = ()

instance Zero Bool where
zero = False

Expand Down
2 changes: 1 addition & 1 deletion vulkan.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cabal-version: 2.2
-- see: https://github.com/sol/hpack

name: vulkan
version: 3.16.1
version: 3.16.2
synopsis: Bindings to the Vulkan graphics API.
description: Please see [the readme](https://github.com/expipiplus1/vulkan/#readme)
category: Graphics
Expand Down

0 comments on commit 45d79ef

Please sign in to comment.