title: Most elegant way to start several scotty servers in the same application?
body: <p>Is there a standard way to start two scotty servers in the same application? In a toy project I'm trying:</p>
  
  <pre class="lang-hs prettyprint-override"><code>main :: IO ()
  main = do
    scotty 3000 $ do
      get "/" $ do
        text "hello"
    scotty 4000 $ do
      post "/" $ do
        text "world"
  </code></pre>
  
  <p>The first server spins up but the second one does not. It could also be a flaw in the way I'm understanding Haskell IO. Thanks!</p>