Hola!!


This site is built using hugo and the theme is built by Fredrik if you enjoy it, it is available at github


Stack hello world

Stack is famous for Haskell package manager. As a web developer I am used to clear tutorial that I can understand and learn. Let’s make a sample app.

Installing Stack

Install on OSX through homebrew

$ brew update
$ brew install haskell-stack

Creating a new app

$ stack new hello-world

Stack has some templates you can use your app.

Installing GHC

Run this in your app.

$ stack setup

Building an Executable

You can build with stack build

$ stack build

Run the app

Runt the app. This is cool.

$ stack exec hello-world-exe
SomeFunc