Skip to content

Instantly share code, notes, and snippets.

View nicmarti's full-sized avatar

Nicolas Martignole nicmarti

View GitHub Profile
@nicmarti
nicmarti / HaskellVSGroovy.groovy
Last active December 14, 2015 23:59 — forked from renatoathaydes/HaskellVSGroovy.groovy
Working on a very simple haskell vs groovy vs scala
// This is a comparison between Haskell and Groovy based on some simple problems found in the following
// Haskell Introduction:
// http://learnyouahaskell.com/starting-out#ready-set-go
// Ex 1. If we have two lists, [2,5,10] and [8,10,11] and we want to get the products of all the possible
// combinations between numbers in those lists, here's what we'd do.
/* HASKELL */
[ x*y | x <- [2,5,10], y <- [8,10,11]]
@nicmarti
nicmarti / gist:3134698
Created July 18, 2012 06:58 — forked from sadache/gist:3026886
Bits'bout Play2 Architecture

Quelques bouts d'architecture de Play2

Play2 Simple HTTP API

Le coeur de l'architecture de Play2 est plutôt simple et reste facile à expliquer dans un article court de blog. Vous pouvez découvrir petit à petit le framework à différents niveaux, et à chaque fois découvrir un peu plus sur certains aspects de son design.

Le coeur de Play2 est vraiment très simple et petit, il est complété par un ensemble d'APIs pratiques, de services et permet de faciliter le développement Web.

De manière simple, Play2 est une API qui abstrait le type suivant :