Arc Forumnew | comments | leaders | submitlogin
1 point by tung 5994 days ago | link | parent

How do Haskell's modules differ from Python's?


2 points by applepie 5994 days ago | link

Python's modules are first class. For example:

  import module

  x = module
  x.function(...)
In Haskell, names are resolved during compile-time...

Also, in Haskell modules can define which names to export. In Python everything is visible.

-----