
22 May
2005
22 May
'05
4:50 p.m.
hi, Anybody could please tell me that in the following two expressions what value does the [] take? foldl (/) 3 [] foldr (/) 3 [] when both of them are evaluated I got 3.0,but I thought I could get nothing out of there,cause its an empty list,does Haskell assume any default value for a empty list? -- ------------------------------------------------------------------------------------------------------- If you didn't succeed at the first attempt, you are just about average.