Skip to content

Commit

Permalink
Merge pull request #13 from kenranunderscore/fix-typo-in-docs
Browse files Browse the repository at this point in the history
Fix a small typo in a docstring
  • Loading branch information
svenpanne authored Sep 4, 2023
2 parents 8508c8d + 31fd41e commit 3ad6e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/StateVar.hs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ infixr 2 $~, $~!

-- | This is the class of all updatable state variables.
class HasSetter t b => HasUpdate t a b | t -> a b where
-- | Transform the contents of a state variable with a given funtion.
-- | Transform the contents of a state variable with a given function.
($~) :: MonadIO m => t -> (a -> b) -> m ()
#if USE_DEFAULT_SIGNATURES
default ($~) :: (MonadIO m, a ~ b, HasGetter t a) => t -> (a -> b) -> m ()
Expand Down

0 comments on commit 3ad6e40

Please sign in to comment.