3 ms·
The example for the echohandler is wrong, to solve, replace req <- getRequest writeBS $ maybe "" id (getParam "s" req) with param <- getParam "s"
by guano___ 16y ago
The example for the echohandler is wrong, to solve, replace
req <- getRequest
writeBS $ maybe "" id (getParam "s" req)
with
param <- getParam "s"
writeBS $ maybe "" id param