Wednesday, June 3, 2015

Haskell 99 Problem 12

Problem

Please find the problem here.

Solution:

Please see the solution as follow:

Another standard use of map with fold. I could have use replicate, but writing a function worked just fine.

No comments :

Post a Comment