put -package:snap-core

Construct a Put action. In contrast to BuildSteps, Puts are referentially transparent in the sense that sequencing the same Put multiple times yields every time the same value with the same side-effect.
Replace the state inside the monad.
put s sets the state within the monad to s.
put s sets the state within the monad to s.
put s sets the state within the monad to s.
Encode a value in the Put monad.
Encode a value in the Put monad.
Replace the current chunk.
Encode a value in the Put monad.
Encode a value in the Put monad.
Issue a PUT request.
Session-specific version of put.
put = addroute PUT
put = addroute PUT
Update the state.
Perform a PUT request to the application under test.
Place content on the server at the given URL via an HTTP PUT request, specifying the content type and a function to write the content to the supplied OutputStream. You might see:
put "http://s3.example.com/bucket42/object149" "text/plain"
(fileBody "hello.txt") (\p i -> do
putStr $ show p
Streams.connect i stdout)
Set the current state to the given value.