licensor-0.2.1: A license compatibility helper
Licensor
Description
newtype LiLicense Source #
Constructors
Fields
Instances
Methods
(==) :: LiLicense -> LiLicense -> Bool #
(/=) :: LiLicense -> LiLicense -> Bool #
compare :: LiLicense -> LiLicense -> Ordering #
(<) :: LiLicense -> LiLicense -> Bool #
(<=) :: LiLicense -> LiLicense -> Bool #
(>) :: LiLicense -> LiLicense -> Bool #
(>=) :: LiLicense -> LiLicense -> Bool #
max :: LiLicense -> LiLicense -> LiLicense #
min :: LiLicense -> LiLicense -> LiLicense #
readsPrec :: Int -> ReadS LiLicense #
readList :: ReadS [LiLicense] #
readPrec :: ReadPrec LiLicense #
readListPrec :: ReadPrec [LiLicense] #
showsPrec :: Int -> LiLicense -> ShowS #
show :: LiLicense -> String #
showList :: [LiLicense] -> ShowS #
disp :: LiLicense -> Doc #
parse :: ReadP r LiLicense #
data LiPackage Source #
getDependencies :: IO (Maybe (Set PackageIdentifier)) Source #
getPackage :: IO (Maybe PackageDescription) Source #
orderPackagesByLicense :: Bool -> Maybe PackageIdentifier -> Set PackageIdentifier -> IO (Map LiLicense (Set PackageIdentifier), Set PackageIdentifier) Source #
version :: Version Source #