添加target add_executable(mytool mytool.cpp)添加可執(zhí)行target add_library(archiv...
使用make編譯openjdk 從github上搜索openjdk,官網(wǎng)上下載非常慢而且經(jīng)常中斷 解壓到openjdk-jdk-jdk10目錄 ...
1亲桦,為啥需要Functor, Applicative, 和 Monad這三個(gè)號(hào)稱非常高級(jí)的家伙?州胳?? One way to understand...
1逸月,IO類型:跟IO相關(guān)的函數(shù)返回值放到IO類型容器里栓撞,避免跟pure函數(shù)混合 Haskell has a special parameteri...
1, haskell中的問(wèn)題都可以轉(zhuǎn)換成連續(xù)的transformation(劃重點(diǎn)!H肯妗F奥) You can think of transform...
1, haskell是靜態(tài)類型語(yǔ)言弛说,大部分情況依靠類型推斷而不需要顯示指定類型挽懦。 2, 自定義類型 2.1 type定義類型別名剃浇,相當(dāng)于c++中...
1巾兆, 何為函數(shù) The behavior of functions in Haskell comes directly from mathema...
灰暗已經(jīng)過(guò)去,又開(kāi)始寫(xiě)文章啦啦啦;⑶簟!蔫磨! 1淘讥, 之前學(xué)習(xí)大數(shù)據(jù)要用到scala語(yǔ)言,遇到scala里面的函數(shù)式部分有點(diǎn)懵逼堤如。后來(lái)就想深入學(xué)習(xí)一下函...
Executor的主要作用是解耦任務(wù)提交和任務(wù)執(zhí)行(包括如何使用線程蒲列,如何調(diào)度) Executor本身并不表示使用線程 ExecutorServ...