Thursday, June 4, 2015

Haskell 99 Problem 14

Problem

Please find the problem here.

Solution:

Please see the solution as follow:

I read ahead on problem 15 and noticed that repli is a generalization of, dupli and therefore we can use repli to implement dupli as a special case, so I did.

No comments :

Post a Comment