Show the (decimal) value of a number of 1s appended with a 3, then squared: Difference between revisions

Content added Content deleted
(Add Plain English)
Line 362: Line 362:
onesPlusThree =
onesPlusThree =
(3 +) . (10 *)
(3 +) . (10 *)
<$> iterate ((1 +) . (10 *)) 0
<$> iterate (succ . (10 *)) 0


format :: Integer -> String
format :: Integer -> String