function build_uri(uri, query, body) {
    uri = build_query_string(uri, query)
    return method == 'GET'?  build_query_string(uri, body)
    :      /* otherwise */   uri }
function build_uri(uri, query, body) {
    uri = build_query_string(uri, query)
    return method == 'GET'?  build_query_string(uri, body)
    :         uri }
function build_uri ( uri , query , body ) { uri = build_query_string ( uri , query ) return method == 'GET' ? build_query_string ( uri , body ) : /* otherwise */ uri }
Sticks a serialised query and body object at the end of an URI. build-uri :: String, { String -> String }, { String -> String }? -> String
Sticks a serialised query and body object at the end of an URI . build - uri :: String { String - > String } { String - > String } ? - > String