Skip to content

Commit 4595647

Browse files
committed
Fix inconsistent whitespace in RunCapabilityPatternNode
1 parent 0f5231e commit 4595647

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

recipes/RunCapabilityPatternNode/src/Application.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ _logger :: Proxy "logger"
4343
_logger = Proxy
4444

4545
_getUserName :: Proxy "getUserName"
46-
_getUserName = Proxy
46+
_getUserName = Proxy

recipes/RunCapabilityPatternNode/src/ProductionAsync.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type Environment = { asyncEnv :: String }
2121
-- The `GetUserName` dsl can be interpreted without
2222
-- using `Reader` as an intermediate step (as shown in `ProductionSync`),
2323
-- but I chose to use Reader here just to show off how you'd go about doing it.
24-
type AppMA r = Run (READER Environment + AFF + EFFECT + r )
24+
type AppMA r = Run (READER Environment + AFF + EFFECT + r)
2525

2626
-- | Running our monad is just a matter of interpreter composition.
2727
runApp :: Environment -> AppMA (LOGGER + GET_USER_NAME + ()) ~> Aff

recipes/RunCapabilityPatternNode/src/Test.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ runLogger = Run.interpret (on _logger handleLogger send)
2424
handleLogger :: LoggerF ~> TestM r
2525
handleLogger (Log _ a) = pure a
2626

27-
runGetUserName :: forall r. TestM (GET_USER_NAME + r) ~> TestM r
27+
runGetUserName :: forall r. TestM (GET_USER_NAME + r) ~> TestM r
2828
runGetUserName = Run.interpret (on _getUserName handleUserName send)
2929
where
3030
handleUserName :: GetUserNameF ~> TestM r

0 commit comments

Comments
 (0)