We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
would be useful for writing generic code.
I don't know how zero Maybe<x> = None works, but that could somehow be used for this
zero Maybe<x> = None
The text was updated successfully, but these errors were encountered:
I think this could be a feature with default arguments to functions.
In the compiler right now there is a "default" constructor for one of the AST cases.
type AST = ASTEOF | ASTNil | App { is-cons: U64, left: AST[], right: AST[] } | Var { key: CString, token: Token } | Lit { key: CString, token: Token } | Abs { lhs: AST[], rhs: AST[], tt: Type } | AType { tt: Type } | Seq { left: AST[], right: AST[] } | Glb { key: Token , val: AST[] } | Typedef { lhs: AST[] , rhs: AST[] } | Meta { description: AST[] }; let $"App"(left: AST[], right: AST[]): AST = App { false, left, right };
default arguments could make this easier to declare.
Sorry, something went wrong.
andrew-johnson-4
No branches or pull requests
would be useful for writing generic code.
I don't know how
zero Maybe<x> = None
works, but that could somehow be used for thisThe text was updated successfully, but these errors were encountered: