Gestalte GoConqr mit. Was sollen wir als Nächstes hinzufügen?

Mindmap

Modules

YEFFERSON FABIAN LINARES OSPINA Spanisch

Inhalt der Mindmap

Modules

  1. Loading modules

    • The syntax for importing modules in a Haskell script is import <module name>
      • import Data.List
        • Import all modules from data.list
      • import Data.List (nub, sort)
        • Import only necessary functions from Data.List
  2. Data.List

    • offers multiple functions to deal with lists, among them are
      • - intersperse - intercalate - transpose - concat - etc
  3. Making our own modules

    • example, we have our module geometry.hs, and create their functions
      • module Geometry ( sphereVolume , sphereArea , cubeVolume , cubeArea , cuboidArea , cuboidVolume ) where
        • we import with next sintax: import Geometry
  4. Data.Char

    • offers multiple functions to deal with characters, among them are
      • - isControl -isSpace -isLower -isUpper -...
        • generally these functions return boolean values
  5. Data.set

    • this library is used for math operations and maps, these are some functions
      • intersection
        • This function is used to compare two functions and see the similar data between them
      • difference
        • this is used to see the characters that is in a function but not in the other
      • empty
        • this is used to see if a function is empty and not, it returns a boolen

Informationen

Beschreibung
Mindmap am Modules, erstellt von YEFFERSON FABIAN LINARES OSPINA am 12/10/2021.
Aufrufe
1
Bewertung

Mehr zu Haskell Modules and Libraries

Feedback

Worum geht es?

Was sollen wir als Nächstes hinzufügen?