-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Haskell API Wrapper for the Open Source License API -- -- The Open Source API contains metadata regarding OSI Approved Licenses, -- and crosswalks that help with using and integrating this information -- with external sources. This library is designed to interact with that -- API so that users can simply build applications that are -- license-aware. @package opensource @version 0.1.0.0 module Network.Protocol.OpenSource.License data OSIIdentifier OSIIdentifier :: Text -> Text -> OSIIdentifier [oiIdentifier] :: OSIIdentifier -> Text [oiScheme] :: OSIIdentifier -> Text data OSILink OSILink :: Text -> Text -> OSILink [olNote] :: OSILink -> Text [olUrl] :: OSILink -> Text data OSIOtherName OSIOtherName :: Text -> Maybe Text -> OSIOtherName [oonName] :: OSIOtherName -> Text [oonNote] :: OSIOtherName -> Maybe Text data OSIText OSIText :: Text -> Text -> Text -> OSIText [otMedia_type] :: OSIText -> Text [otTitle] :: OSIText -> Text [otURL] :: OSIText -> Text data OSILicense OSILicense :: Text -> Text -> Maybe Text -> [Text] -> [OSIIdentifier] -> [OSILink] -> [OSIOtherName] -> [OSIText] -> OSILicense [olId] :: OSILicense -> Text [olName] :: OSILicense -> Text [olSuperseded_by] :: OSILicense -> Maybe Text [olKeywords] :: OSILicense -> [Text] [olIdentifiers] :: OSILicense -> [OSIIdentifier] [olLinks] :: OSILicense -> [OSILink] [olOther_names] :: OSILicense -> [OSIOtherName] [olText] :: OSILicense -> [OSIText] allLicenses :: ExceptT String IO [OSILicense] licensesMatchingKeyword :: String -> ExceptT String IO [OSILicense] licenseById :: String -> ExceptT String IO OSILicense licenseBySchemeAndIdentifier :: String -> String -> ExceptT String IO OSILicense instance Data.Aeson.Types.Class.ToJSON Network.Protocol.OpenSource.License.OSILicense instance Data.Aeson.Types.Class.FromJSON Network.Protocol.OpenSource.License.OSILicense instance GHC.Show.Show Network.Protocol.OpenSource.License.OSILicense instance GHC.Read.Read Network.Protocol.OpenSource.License.OSILicense instance GHC.Classes.Eq Network.Protocol.OpenSource.License.OSILicense instance Data.Aeson.Types.Class.ToJSON Network.Protocol.OpenSource.License.OSIText instance Data.Aeson.Types.Class.FromJSON Network.Protocol.OpenSource.License.OSIText instance GHC.Show.Show Network.Protocol.OpenSource.License.OSIText instance GHC.Read.Read Network.Protocol.OpenSource.License.OSIText instance GHC.Classes.Eq Network.Protocol.OpenSource.License.OSIText instance Data.Aeson.Types.Class.ToJSON Network.Protocol.OpenSource.License.OSIOtherName instance Data.Aeson.Types.Class.FromJSON Network.Protocol.OpenSource.License.OSIOtherName instance GHC.Show.Show Network.Protocol.OpenSource.License.OSIOtherName instance GHC.Read.Read Network.Protocol.OpenSource.License.OSIOtherName instance GHC.Classes.Eq Network.Protocol.OpenSource.License.OSIOtherName instance Data.Aeson.Types.Class.ToJSON Network.Protocol.OpenSource.License.OSILink instance Data.Aeson.Types.Class.FromJSON Network.Protocol.OpenSource.License.OSILink instance GHC.Show.Show Network.Protocol.OpenSource.License.OSILink instance GHC.Read.Read Network.Protocol.OpenSource.License.OSILink instance GHC.Classes.Eq Network.Protocol.OpenSource.License.OSILink instance Data.Aeson.Types.Class.ToJSON Network.Protocol.OpenSource.License.OSIIdentifier instance Data.Aeson.Types.Class.FromJSON Network.Protocol.OpenSource.License.OSIIdentifier instance GHC.Show.Show Network.Protocol.OpenSource.License.OSIIdentifier instance GHC.Read.Read Network.Protocol.OpenSource.License.OSIIdentifier instance GHC.Classes.Eq Network.Protocol.OpenSource.License.OSIIdentifier