Skip to content

Commit

Permalink
Adds documentation for patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Solomon committed May 23, 2021
1 parent 79d52fa commit c98c3cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/WAGS/Patch.purs
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,7 @@ instance toGraphEffectsMakeWaveShaper :: (IsSymbol ptr, IsSymbol sym, IsOversamp
oversample' = reflectOversample (mempty :: oversample)

class Patch g0 g1 where
-- | Take any frame from `g0` to `g1`. The compiler automatically determines the necessary operations to perform the transformation.
patch :: forall env audio engine proof m res. Monad m => AudioInterpret audio engine => FrameT env audio engine proof m res { | g0 } { | g1 } Unit

instance patchAll ::
Expand Down

0 comments on commit c98c3cb

Please sign in to comment.