diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 22:45:02 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 22:45:02 -0400 |
| commit | 44cd26f2cebd760a53aa4ff1b7779e718a101650 (patch) | |
| tree | 4bdc9144c6825a0c394155712d5e464ee2a61061 /examples/http-server | |
| parent | 3406515a44b13d0c290c28ac42bd364ce27560c7 (diff) | |
Rename Array -> List in all code and docs
Diffstat (limited to 'examples/http-server')
| -rw-r--r-- | examples/http-server/http-server.tm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/http-server/http-server.tm b/examples/http-server/http-server.tm index 5b73d1af..80774bff 100644 --- a/examples/http-server/http-server.tm +++ b/examples/http-server/http-server.tm @@ -38,7 +38,7 @@ func serve(port:Int32, handler:func(request:HTTPRequest -> HTTPResponse), num_th response := handler(request).bytes() C_code { if (@response.stride != 1) - Array$compact(&@response, 1); + List$compact(&@response, 1); write(@connection, @response.data, @response.length); close(@connection); } |
