You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be nice to make imports easier, right now it's very verbose. Can un-conflate the module syntax with the import syntax
Steal JS homework
import ... from ""
Change it a bit
import "" as X use Y, Z as V
Can parameters be applied in the use statement? import "trilogy:str" use joined " " as spaced
Changing the use part to be somehow pattern-matching based will probably be better... more cohesive, considering that arbitrary expressions may be modules and to be able to match out of them would be nice
const a, b, c from import "trilogy:str"
proc main!() {
let x, y, z from import "./hello.tri"
let j, k from x param
}
The text was updated successfully, but these errors were encountered:
Would be nice to make imports easier, right now it's very verbose. Can un-conflate the module syntax with the import syntax
Steal JS homework
Change it a bit
Can parameters be applied in the use statement?
import "trilogy:str" use joined " " as spaced
Changing the
use
part to be somehow pattern-matching based will probably be better... more cohesive, considering that arbitrary expressions may be modules and to be able to match out of them would be niceThe text was updated successfully, but these errors were encountered: