Hi,_______________________________________________Please can anyone explain how does 'a' get re-used in the code below. My understanding so far of haskell is that variables are not allowed to mutate or re-assigned.---doa <- [1,2,3]a <- [a+1]return a[2,3,4]---Thanks,Shishir
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners