Help shape GoConqr. What should we add next?

Mind map

Modules in Haskell

WILLIAM SANTIAGO FONSECA MORA Ingeniería English

Modules in Haskell

Map content

Modules in Haskell

  1. Collections of related functions, types and type classes

    • Haskell program
      • A main module loads some others modules
    • Haskell standard library
  2. Code split

    • Have more generic modules
      • the functions it exports can be used in a multitude of different programs
    • Code reuse
  3. Syntaxis

    • To import a module
      • Import "module_name"
        • Import "module_name" "other_module" "module_n"
      • Specific functions for some module
        • Import "module_name" ("function1", "function2", "functionN")
        • Exclude some functions
          • Import "module_name" hiding ("functionName")
      • Qualified
        • Use to make the modules explicit name when call a function of that module
          • import qualified "module_name" as "alias"
            • Tha "alias" is optional
    • Make our own module
        • Define functions

Images and files in the map

  • Modules in Haskell
  • Modules in Haskell

Information

Description
Ingeniería Mind Map on Modules in Haskell, created by WILLIAM SANTIAGO FONSECA MORA on 24/09/2021.
Views
0
Rating

More on Haskell Modules and Libraries

Feedback

What is it about?

What should we add next?