[Haskell-beginners] Question about example in 'using do notation with Writer' section of LYH

Olumide 50295 at web.de
Thu Jan 26 21:34:42 UTC 2017


On 26/01/17 16:02, David McBride wrote:
>> runWriter multWithLogTuple
> ((3,5,10),["Got number: 3","Got number: 5"])

On second thoughts I don't think I understand how the logs are 
concatenated. I was expecting (15,["Got number: 15") in the original 
example.

- Olumide


More information about the Beginners mailing list