
22 Aug
2012
22 Aug
'12
3:04 p.m.
On Wed, Aug 22, 2012 at 7:38 AM, Costello, Roger L.
But do you think you could provide a more "real world" example of an application of the "Holy Trinity" ideas?
A commonly cited real-world example that illustrates the first key idea (recursive data type) is a binary tree:
I'd have used lists, since in Haskell we make use of infinite lists quite a bit; a simple example being zipping some list against [0..] (a list comprising an infinitely ascending sequence of numbers) to pair each item with its index. -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms