豐碩 發表於 2012-10-28 23:40:39

【代數資料類型】

<P align=center><STRONG><FONT size=5>【<FONT color=red>代數資料類型</FONT>】</FONT></STRONG></P>&nbsp;<P><STRONG>英語翻譯:algebraicdatatype:(ADT)</STRONG></P>
<P><STRONG></STRONG>&nbsp;</P>
<P><STRONG>【辭書名稱】資訊與通信術語辭典</STRONG></P>
<P><STRONG></STRONG>&nbsp;</P>
<P><STRONG>指在函數程式設計中,所定義的新類型。</STRONG></P>
<P><STRONG></STRONG>&nbsp;</P>
<P><STRONG>每一種類型有一個以上的構造器。</STRONG></P>
<P><STRONG></STRONG>&nbsp;</P>
<P><STRONG>如在Haskell定義一新類型〝Tree〞:dataTree=Empty|LeafInt|NodeTreeTree式中,Empty、Leaf和Node為構造器。</STRONG></P>
<P><STRONG></STRONG>&nbsp;</P>
<P><STRONG>參【函數程式設計】(functionalprogramming)。</STRONG></P>
<P><STRONG></STRONG>&nbsp;</P>
<P><STRONG></STRONG>&nbsp;</P>轉自:http://edic.nict.gov.tw/cgi-bin/tudic/gsweb.cgi?o=ddictionary
頁: [1]
查看完整版本: 【代數資料類型】