JavaScript to Haskell

05: Routes In Haskell


Listen Later

Building on our Server API, we want to break down the function called by the route into something more compose-able

Route Type

get :: RoutePattern -> ActionM () -> ScottyM ()

  • That’s a get request
  • Resources

    docker quick

    Sean Hess original post

    Follow
    • JavaScript to Haskell
      • Twitter: @jstoHaskell()
      • Site: JSToHaskell
      • microblog: @jtomchak
      • Jesse Tomchak
        • Twitter: @jtomchak
        • ...more
          View all episodesView all episodes
          Download on the App Store

          JavaScript to HaskellBy Jesse Tomchak