構建並執行堆疊專案

在這個例子中,我們的專案名稱是 helloworld,它是用 stack new helloworld simple 建立的

首先,我們必須使用 stack build 構建專案,然後我們可以執行它

stack exec helloworld-exe