[Haskell-cafe] Re: Interesting new user perspective

apfelmus apfelmus at quantentunnel.de
Sat Oct 11 13:34:56 EDT 2008


Andrew Coppin wrote:
> Martin DeMello wrote:
>> http://blog.moertel.com/articles/2006/10/18/a-type-based-solution-to-the-strings-problem
>>
>> is a brilliant example of a common workaday problem found in other
>> languages, and solved elegantly in Haskell
>>   
> 
> Oh, hey, that's pretty nice...

... and a solution to a problem that you souldn't have in the first
place. I mean, if you want to construct XML or SQL statements, you ought
to use an abstract data type that ensures proper nesting etc. and not a
simple string.


Regards,
apfelmus



More information about the Haskell-Cafe mailing list