Explorer

core.type-ast

description
Definy type system AST (self-describing types)
type
Type
expression
Union{
  #type,
  #number,
  #float,
  #string,
  #boolean,
  #list(Record{item_type: @core.type-ast}),
  #function(Record{parameters: List<Record{name: String, type: @core.type-ast}>, return_type: @core.type-ast}),
  #record(List<Record{key: String, field_type: @core.type-ast}>),
  #union(List<Record{tag: String, payload_type: Union{#none, #some(@core.type-ast)}}>),
  #reference(Record{part_hash: String}),
  #builtin(String),
  #code(@core.type-ast),
  #parameter(String),
  #apply(Record{part_hash: String, arguments: List<Record{name: String, type: @core.type-ast}>}),
  #secret
}
visibility
public
core.type-ast (project definy, branch public-release, snapshot ZhZSt7pd8D1cjWV6M1duEP19oNXR1s68fsVmzKaEgCo)
id: b2BOkDmHHoyW-Y8RQPIP0C3GXiGzkCxZQA-OwMy3330
content hash: CWJHOnS7pto5O-6jyJEqKFbDLCJILBuN5kssCVngl7E