-v
the compiler will give time deltas for various parts of the compiler pipeline, and then maybe you can figure out what is taking so long. My guess (because this is always the answer) is the aggressive inlining, which can massively blow up the program. If you are careful, you can put #[noinline]
attributes on large functions that are called in multiple places.
noinline
attributes that would cause errors in code generation.
&
in Haskell! It's probably not idiomatic, but it is nicer than $
imo.
(a).b
is an invalid module expression? I guess its kind of weird, but i'm trying to import a parametric module and apply it simultaneously
so i have something like
a.fut:
module a (T: integer) = {
let add (a: T.t) (b: T.t): T.t = a + b
}
and then in b.fut:
module a_u8 = (import "a").a u8
(x).y
is a special expression in the term language (because x.y
is handled as a single lexeme), and I guess we just never added it similarly to the module language.