-record(function_type, { argument_types :: list(internal@codegen@types:gleam_type()), result_type :: internal@codegen@types:gleam_type() }).