Skip to content

Commit

Permalink
Bumps version
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Solomon committed Sep 12, 2021
1 parent 489e190 commit 78858e8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.7] - 2021-09-12

### Fixed

- `modifyRes` no longer requires audio interpret constraint.

## [0.4.6] - 2021-09-12

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "purescript-wags",
"version": "0.4.6",
"version": "0.4.7",
"description": "Web Audio Graphs as a Stream",
"scripts": {
"build": "spago build",
Expand Down
6 changes: 2 additions & 4 deletions src/WAGS/Control/Functions.purs
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,7 @@ infixr 6 makeSceneR'Flipped as <||@
-- | for `res` is returned to the scene.
modifyRes
:: forall audio engine proof res i a
. AudioInterpret audio engine
=> (res -> res)
. (res -> res)
-> WAG audio engine proof res i a
-> WAG audio engine proof res i res
modifyRes f w = unsafeWAG { context: (context { res = res' }), value: res' }
Expand All @@ -336,7 +335,6 @@ modifyRes f w = unsafeWAG { context: (context { res = res' }), value: res' }
-- | for `res` is returned to the scene.
imodifyRes
:: forall audio engine proof res i
. AudioInterpret audio engine
=> (res -> res)
. (res -> res)
-> IxWAG audio engine proof res i i res
imodifyRes f = IxWAG (modifyRes f)

0 comments on commit 78858e8

Please sign in to comment.