Skip to content

Commit

Permalink
Merge pull request kmonad#690 from gwimm/docs
Browse files Browse the repository at this point in the history
Fix doc comment by substituting "sink" for "source" in IO.hs
  • Loading branch information
slotThe authored Mar 28, 2023
2 parents 97772cb + 34bfdd3 commit a22e0ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/KMonad/Keyboard/IO.hs
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ newtype KeySource = KeySource { awaitKeyWith :: IO KeyEvent}

-- | Create a new KeySource
mkKeySource :: HasLogFunc e
=> RIO e src -- ^ Action to acquire the keysink
-> (src -> RIO e ()) -- ^ Action to close the keysink
-> (src -> RIO e KeyEvent) -- ^ Action to write with the keysink
=> RIO e src -- ^ Action to acquire the keysource
-> (src -> RIO e ()) -- ^ Action to close the keysource
-> (src -> RIO e KeyEvent) -- ^ Action to write with the keysource
-> RIO e (Acquire KeySource)
mkKeySource o c r = do
u <- askUnliftIO
Expand Down

0 comments on commit a22e0ba

Please sign in to comment.