bonobo-lang / bonobo

Strongly-typed, safe, opinionated systems language that compiles to C.
https://bonobo-lang.github.io
Apache License 2.0
14 stars 1 forks source link

Formal import definition #77

Open thosakwe opened 6 years ago

thosakwe commented 6 years ago
// Import all symbols into scope
import math

// Import into new child module named `m`
import math as m

// Import only `pow` and `ceil`
import math show pow, ceil
import math as m show pow, ceil

// Hide only `tan` and `atan`
import math hide tan, atan
import math as m hide tan, atan