GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

Haskell Modules

ALVARO ANTONIO STAGG RAMIREZ Englisch

Inhalt der Mindmap

Haskell Modules

  1. Collection

    • Functions
    • Types
    • Typeclasses
  2. Main Module

    • Load other modules
  3. Loosely Coupled

    • Do not depend on any other module
  4. Can be imported

    • import <module name>
      • Functions, types and typeclasses become available for the current namespace
      • Can import specific functions
        • import <module name> (<function>, ...)
        • Or can hide specific ones
          • import <module name> hiding (<function>, ...)
    • Before any function definition
  5. Qualified Modules

    • Require prefix before every module function use
    • import qualified <module name> as <N>
      • N stands for a generic name
  6. Useful modules

    • Data.List
      • Manipulate Haskell lists
    • Data.Char
      • Manipulate and deal with characters
    • Data.Map
      • Manipulate Haskell dictionaries
    • Data.Set
      • Deal with mathematic sets
  7. Can be created

    • It's a good practice
    • Can hold sub-modules
      • import <module>.<sub-module>
      • Insert files into directory
    • Can export or not functions, types and more

Informationen

Beschreibung
Mindmap am Haskell Modules, erstellt von ALVARO ANTONIO STAGG RAMIREZ am 05/10/2021.
Erstellt von
ALVARO ANTONIO STAGG RAMIREZ · Okt 2021
Aktualisiert
5 Okt 2021
Aufrufe
1
Bewertung

Mehr zu Haskell Modules and Libraries

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck