Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Use different type variables
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Oct 19, 2023
1 parent 4e2e727 commit 737b4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Restyled/Agent/Prelude.hs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import UnliftIO.Concurrent as X (threadDelay)
import UnliftIO.Exception as X (handleAny, throwIO, tryAny)
import UnliftIO.Temporary as X (withSystemTempFile)

views :: MonadReader a m => Lens' a b -> (b -> c) -> m c
views :: MonadReader s m => Lens' s a -> (a -> r) -> m r
views l f = f <$> view l

eitherDecodeText :: FromJSON a => Text -> Either String a
Expand Down

0 comments on commit 737b4ec

Please sign in to comment.