|
|
|
|
|
by tikhonj
4622 days ago
|
|
What exactly do you mean by "compositional semantics"? If you mean modularity, I've found Haskell to allow for more modularity than normal programs. Since you don't have side-effects everywhere, distant parts of your code are actually distinct and truly decoupled. Haskell also makes it more natural to break your code up into small, self-contained modules; thanks to its type system, these modules tend to have well-defined interfaces that are easy for other people to use. It's surprisingly easy to write loosely-coupled code that works together. Did you have something more specific in mind? |
|