@@ -99,11 +99,11 @@ instance Category RenderAction where
101instance Arrow RenderAction where
101instance Arrow RenderAction where
102− arr f = id { actionFunction = \x -> return (f x) }
102+ arr f = id { actionFunction = return . f }
104 first x = RenderAction
104 first x = RenderAction
105 { actionDependencies = actionDependencies x
105 { actionDependencies = actionDependencies x
106 , actionUrl = actionUrl x
106 , actionUrl = actionUrl x
107− , actionFunction = \(y, z) -> do y' <- (actionFunction x) y
107+ , actionFunction = \(y, z) -> do y' <- actionFunction x y
108 return (y', z)
108 return (y', z)