30
Mar
14

Hackwell in Haskell: a Haskell hackathon in StackBuilders

Hackaton en Haskell, en StackBuilders

.then().catch();

Presenting a solution for the snail kata. Presenting a solution for the snail kata.

Today have taken place in the StackBuilders offices in Quito what seems to be the first Hackathon using a funcional language, in Ecuador. For this ocasion, we’ve been using Haskell.

Haskell is a functional programming language created in 1990 that takes its name from Haskell Curry, an american mathematician in which works about logics are partially based the current functional programming languages. Haskell is a strongly typed language, although it differs from other functional languages as Clojure in not forcing the data structures inmutability.

During the day, the problem proposed was solving the snail kata in Haskell. The snail kata consist in, given a squared matrix, return an array with all the matrix elements sorted as is shown in the following diagram:

We sort the matrix elements following an helix We sort the matrix elements following an helix

So, for the next matrix:

array = [[1,2,3],
[4,5,6],
[7,8,9]]

the expecte result…

Ver la entrada original 216 palabras más


0 Responses to “Hackwell in Haskell: a Haskell hackathon in StackBuilders”



  1. Dejar un comentario

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s


Suscribirse

Twitter TimeLine

Twitter

Twitter Button from twitbuttons.com

Creative Commons

Creative Commons License
Esta obra está bajo una licencia de Creative Commons.

Blog Stats

  • 43,924 hits

Visitantes Actuales

hit counters

Suscrito a:

Add to Technorati Favorites Ecuablogs.Com

Powered by FeedBurner

My del.icio.us


A %d blogueros les gusta esto: