Tag : haskell
A Fashion Magazine in Haskell
Posted by alpheccar - Feb 24 2008 at20:15 CEST
If you want another proof that Haskell is going mainstream, here is one : a Fashion Magazine developed in Haskell. And I am happy because they are using my HPDF library to generate it.
The mag is created in an automatic way from the blogs of the 360Fashion Network : a network of fashion professionals who try to give an insider view of the fashion industry. So, expect to see lots of pictures blogged from mobile phones during the fashion weeks.
A newbie in Haskell land : The (->) monad
Posted by alpheccar - Dec 10 2006 at18:56 CEST
Today, I am trying to understand the (->) monad ... not so easy without any example available.
A newbie in Haskell land or another monad tutorial
Posted by alpheccar - Nov 29 2006 at19:27 CEST
I am a newbie in the Haskell land. I was lost but found some good maps and discovered there is a tradition in Haskell land : writing a
monad tutorial.
There are so many monad tutorials that writing a new one is getting difficult. And writing a good one if even more difficult. So, I am just
going to explain my own understanding.
The first thing to note is that monads are EASY !!
A Web Monad
Posted by alpheccar - Dec 18 2007 at18:23 CEST
In my last post, I was writing about the use of coproduct of free monads to do content-type dispatching in a web monad. It was working but it was not the right approach. I changed everything and introduced a lattice of lists at the type level to track hierarchical dependencies between formats and do content-type dispatching thanks to type information. I also added a few other features to my Web Monad.
Category Theory and Haskell 3 : Algebras and Monads
Posted by alpheccar - Jul 02 2007 at20:10 CEST
This is the third part of my serie about Haskell and category theory. In the previous post, I described a bit the Hask category and some categorical constructs.
The goal of this text is to understand
the meaning of a recursive type like List. For that, we will have to understand what is a free algebra and have a quick look at the relationship with
monads (for applications look at the blog of sigfpe).
But first, I would like to highlight a problem with the category Hask.
Category theory and Haskell : Part 2
Posted by alpheccar - Jun 24 2007 at20:48 CEST
In my previous post, I explained that with category theory you can define some concepts in
such a way that they can be used in several different contexts.
As a side effect, the definitions are rather abstract since they are forbidden from talking about the implementation of the objects and must rely
only on the provided interfaces.
So, a first thing to do when studying category theory is learning some of these definitions. Some of them
are just generalizations of ideas commonly used in set theory.
Category Theory and the category of Haskell programs : Part 1
Posted by alpheccar - Jun 18 2007 at21:59 CEST
"Category theory" is an expression that is generally frightening people. But, if you have attempted to read some research papers in Computer Science, Mathematics, Physics or even Philosophy,
you've surely remarked that Category theory is used a lot and you probably asked yourself : what is Category theory ? Why is it so useful ? Is it so difficult ? What the link(s)
with computer science ? Answering to those questions in an easy way that can be understood by most people is really challenging but I am going to try and I'll use the category of Haskell
programs to illustrate some points. I hope the expert will forgive me some slight inaccuracies and/or an unconventional presentation.
Colorized lambdabot for Windows
Posted by alpheccar - Nov 10 2006 at16:54 CEST
I am often forced to use Windows :( But unfortunately, I have been unable to find a version of lambdabot for it.
Since I am using this excellent tool more and more often, I decided to try to build it for windows.
Coproduct of free monads and web development
Posted by alpheccar - Dec 11 2007 at19:37 CEST
From time to time, I continue my experiments with Haskell and web development and try to build my own framework. I will never release anything because I am just exploring a few ideas.
Recently, I experimented with a common problem : when a client is getting an URL, it is communicating the formats it wants with some preference values. The server
should return the best format according to what is requested by the client and what is supported by the server.
Coq : back to basics
Posted by alpheccar - May 29 2007 at17:51 CEST
Before continuing my exploration of the specification and extraction of softwares in Coq, I think I should make a pause and focus a little on Coq basics like the differences between Set and Prop and the meaning of a type like 4>0 ...

