I know that I am asking the wrong question here, but I come to Haskell from Python, and I would like to know how to get what would be equivalent to the list of available methods for the class. For example, if I use HXT to parse an XML file, and there are some functions that I can use in the resulting data structure NTree, for example, as a function getChildren, how could I get a list of them, say ghci? In Python, I can just import the module and module type. to get a list.
NTree
getChildren
https://www.haskell.org/hoogle/ may help a little. Give him the name of the module or the desired signature.
Haskell Python. Python ( self). Haskell Java Go: - , " ".
self
, , , . aka typeclasses (, Foldable, Traversable, Applicative ..), , .
Foldable
Traversable
Applicative
, - , , . " " .
Python dir, . Haskell . :info , Python dir.
dir
:info
Python dir, , , . Haskell :browse ghci, .
:browse
Python help , , . Haskell Haddocks on Hackage, . , ghci, , , , .
help
Source: https://habr.com/ru/post/1689715/More articles:Java 8: Фильтрация массива (NxM) для создания карты> - javaConstructor (props) and super (props) VS constructor () and super () in React - javascriptHow the "case of protection" for non-enumerations works - swiftFailed to connect to Docker Aerospike from host - dockerLaravel 5.5 Axios POST приводит к ошибке 419 - javascriptAngular 5 HttpClient: send POST parameters as URL encoded string - javascriptAndroid will move back to the application from the Android settings - androidNUnit.NET Core Works Through Resharper - nunit.Net Core 2.0 and xUnit not starting - .netAutomated Testing DialogFlow - automated-testsAll Articles