Erlang中的模式匹配还会处理各个语句的执行流,以及从复合数据类型(元组、数组)中提取出值。
Pattern matching in Erlang also handles the execution flow of individual statements, and extracts the individual vales from compound data types (tuples, arrays).
与可以包含不同类型元素的列表、元组和词典不同的是,Numarray数组只能包含同一类型的数据。
In contrast to lists, tuples, and dictionaries, which may contain heterogeneous elements, Numarray arrays contain only elements of a homogeneous data type.
与可以包含不同类型元素的列表、元组和词典不同的是,Numarray数组只能包含同一类型的数据。
In contrast to lists, tuples, and dictionaries, which may contain heterogeneous elements, Numarray arrays contain only elements of a homogeneous data type.
应用推荐