daily pastebin goal
85%
SHARE
TWEET

Untitled

a guest Dec 9th, 2018 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import MathOps._
  2.  
  3. object routes extends RouteSet with RouteBuilder with Responders {
  4.   val routes =
  5.   Get   -> "/add"   ! ( query[Int]("a") & query[Int]("b") ^ add ) |
  6.   Get   -> "/sub"   ! ( query[Int]("a") & query[Int]("b") ^ sub ) |
  7.   Get   -> "/pow"   ! ( query[Int]("a") & query[Int]("b") ^ pow )
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top