Skip to content

Instantly share code, notes, and snippets.

View PhilippeSigaud's full-sized avatar

Philippe Sigaud PhilippeSigaud

View GitHub Profile
@PhilippeSigaud
PhilippeSigaud / Algorisme.d
Created May 10, 2012 20:12
Algorithm with tuple
//Algorisme: implementació dels algorismes genèrics i els seves estructures de dades
//ordenar alfabèticament:
import std.conv, std.stdio, std.socket, std.socketstream, std.stream, std.string;
import std.datetime, std.exception, std.functional, std.math, std.uri;
/**
* Helper template, to determine if a type A is an Algorisme or not.
*/
template isAlgorisme(A)