Improved type system

This commit is contained in:
Eduard Urbach 2025-02-17 14:31:47 +01:00
parent 3550f9e24e
commit b8e37fafae
No known key found for this signature in database
GPG key ID: C874F672B1AF20C0
62 changed files with 189 additions and 172 deletions

View file

@ -1,6 +1,6 @@
import sys
bind(socket Int, port Int) -> Int {
bind(socket int, port int) -> int {
addr := new(sys.sockaddr_in)
addr.sin_family = 2
addr.sin_port = htons(port)