Module A import Data.Char
Module B imports module A
So, module B automatically imports Data.Char?
If I do not need to explicitly import Data.Char into module A?
In my program, module B cannot access types from Data.Char
You can export Data.Charfrom the module A.
Data.Char
A
module A ( -- ... other functions module Data.Char -- ... other functions ) where import Data.Char
Now that you have import A, Data.Charwill be available.
import A
If you want to access functions and types from Data.Charwithin your module B, you need to import into it Data.Char, unless module A that you already imported did not export the functions and / or types that you need to module B.
Data.Char A .
Source: https://habr.com/ru/post/1537728/More articles:When you click an element, get the value of the hidden input of the child element - javascriptMS-SQL server query from MySQL server - mysqlTravisCI and SauceLabs - file does not exist in the file system - javascriptProblems with pythonic style and list comprehension - pythonHow / why does .NET SuppressKeypress work? - windowsDoesn't work Translation with the environment in Yii2 - phpUsing SuppressKeyPress event to block KeyUp event - c #ΠΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ ActiveJDBC Ρ Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΈΠΌΠΈ ΠΏΠΎΡΠΎΠΊΠ°ΠΌΠΈ - javaDiscrete Probability Distribution in Matlab - probabilityΠΡΡΠΈΡΠ»Π΅Π½ΠΈΠ΅ ΠΌΠΈΠ½ΠΈΠΌΠ°Π»ΡΠ½ΠΎΠ³ΠΎ ΡΠ°Π·ΡΠ΅Π·Π° Π³ΡΠ°ΡΠΈΠΊΠ° Π±Π΅Π· ΠΎΠ±ΡΠ°ΡΠ½ΡΡ ΠΊΡΠ°Π΅Π² - algorithmAll Articles