我試圖從Armstrong的Erlang書籍的交互式shell上執行示例代碼。這就是書上說的話: 1> Henry8 = #{ class => king, born => 1491, died => 1547 }. #{ born =>
1491, class=> king, died => 1547 }.
2> #{ born => B } = Henry8.
#{ born => 14
我真的需要這項任務的幫助如下: 我需要使用地圖族來實現此功能。 mapSub(List1,List2)。 Subtracts List2 from List1
Follows the order of appearance in
List2.
Implement it using map family
Examples:
mapSub([1,2,3,4,5,1,2,3,4,5],[1,
如何使函數能夠搜索列表中的單詞並返回true,如果列表中有單詞。 例子: find(string) ->
List = ["bye", "hello", "hi"],
case string in List of
true ->
true;
_ ->
false
end.
find("hi there, how
我開始與ChicagoBoss以及 我剛安裝ChicagoBoss以下GitHub的說明。 然後,我創建了一個項目: make
make app PROJECT=myproject
cd ../myproject
一切都很酷,到目前爲止,現在,我想補充的admin interface如cb_admin,所以我加入myproject rebar.conf此行{cb_admin, ".*",