Explorer

definy.type-ast-arguments-text

description
Named types as "name: type, ..."
type
Fn(arguments: List<Record{name: String, type: @core.type-ast}>) -> String
expression
fn(arguments$0) =>
  @std.string-join(
    items: @core.list-map(
      T: Record{name: String, type: @core.type-ast},
      U: String,
      f: fn(item$1) =>
        @std.string-join(items: [$1.name, ": ", @definy.type-ast-text(type: $1.type)], separator: ""),
      xs: $0
    ),
    separator: ", "
  )
visibility
public
definy.type-ast-arguments-text (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: 1StUO3DjVgBOJkowtsi6hGuSZWqIp49NluJt-ea7K_c
content hash: Z-4mF8r_R2zlVPifqOaA_LXCMeig9lQhcIZmbK2n5EI