4 ms·
It is basically a hack to export the type but not the type constructor. It stops people from doing things like let new_socket = OpenSocket { port: 12 };
by Tarean 10y ago
It is basically a hack to export the type but not the type constructor. It stops people from doing things like
let new_socket = OpenSocket { port: 12 };