* applicative (an applicative functor is sent to the remote JSON RPC server).
say :: Text -> RPC ()
say msg = notification "say" (List [String msg])
temperature :: RPC Int
temperature = method "temperature" None
main :: IO ()
main = do
t <- send s $ do
say "Hello, "
say "World!"
temperature
print t