Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
Generate JSON from a source mapping.
-
sourcemap SourceMap.Types The source mapping.
SourceMapping :: FilePath -> !Maybe FilePath -> [Mapping] -> SourceMappingsourcemap SourceMap.Types No documentation available.
smMappings :: SourceMapping -> ![Mapping]sourcemap SourceMap.Types No documentation available.
type
Gophermap = [GophermapEntry]spacecookie Network.Gopher No documentation available.
-
spacecookie Network.Gopher A gophermap entry makes all values of a gopher menu item optional except for file type and description. When converting to a GopherMenuItem, appropriate default values are used.
-
spacecookie Network.Gopher file type, description, path, server name, port number
gophermapToDirectoryResponse :: RawFilePath -> Gophermap -> GopherResponsespacecookie Network.Gopher Given a directory and a Gophermap contained within it, return the corresponding gopher menu response.
module Network.Gopher.Util.
Gophermap This module implements a parser for gophermap files. Example usage:
import Network.Gopher.Util.Gophermap import qualified Data.ByteString as B import Data.Attoparsec.ByteString main = do file <- B.readFile "gophermap" print $ parseOnly parseGophermap file
type
Gophermap = [GophermapEntry]spacecookie Network.Gopher.Util.Gophermap No documentation available.