pub feels more at home with the let binding, and exists in other ML family languages like Rust: Visibility and privacy - The Rust Reference
export let foo = "bar"
pub let foo = "bar"
And we’re not really exporting from a JS file sense, we’re marking something as public in our module, which I think is a distinction worth making.