[Haskell-beginners] first open source haskell project and a mystery to boot
Lorenzo Bolla
lbolla at gmail.com
Thu Oct 13 10:47:35 CEST 2011
Hi,
On Wed, Oct 12, 2011 at 7:59 PM, Alia <alia_khouri at yahoo.com> wrote:
>
> I would appreciate if anyone could shed some light on this whimsical
> problem.
>
> In case you are wondering why this is relevant to the beginner's forum.
> Well...
>
> firstly, I am a beginner, and, er... the code is short enough to serve
> pedagogical purposes (-;
>
>
I'm a beginner, too, so my suggestions are not at all authoritative...
> --t5 = id3 [a1,a2,a3,a4] [d1,d2,d3,d4]
>
Can you not use any of the techniques described here:
http://haskell.org/haskellwiki/Heterogenous_collections?
For example, using a tuple or dynamic types.
my 2 cents,
L.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20111013/0b8c608c/attachment.htm>
More information about the Beginners
mailing list