0
comment
comment
on 9/15/2015 3:26 PM
The core of many web sites and web APIs is very simple. Given an HTTP request,
produce a HTTP response. In F#, we can represent this as a function with type
Request -> Response. To make our server scalable, we should make the function
asynchronous to avoid unnecessary blocking of threads. In F#, this can be
captured as Request -> Async<Response>. Sounds pretty simple, right? So why
are there so many evil frameworks
that make simple web programming difficult?
Fortunately, there is a nice F# library called [...]