Tom Murphy <amin...@gmail.com> writes: Modules tend to group togheter data structures and functions that operate on them - i.e. natural units of code. So I think modules are good also for didactical reasons, in that module imports limit the scope a reader needs to know to understand the code.
I don't know Erlang, but I notice that one example doesn't apply - we can hide sub-functions in let/where constructs. > Before you dismiss it as crazy, know that the topic was brought > up by Joe Armstrong Being brilliant doesn't mean the absence of mental bad hair days, but merely that they happen more rarely than for the rest of us. :-) Anyway, it's an interesting idea. -k -- If I haven't seen further, it is by standing in the footprints of giants _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe