Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

haskell-opensourceapi

haskell-opensource is an API Wrapper that allows you to query the Open Source License API with Haskell.

Example

import Network.Protocol.OpenSource.License (licenseById, olName)
import Control.Monad.Trans.Except (runExceptT)

main = do
    gpl <- runExceptT $ licenseById "LGPL-3.0"
    putStrLn $ case gpl of
        Right license -> show $ olName license
        Left  error   -> "Error during license request!" ++ show error

Installing

cabal install opensource

About

Haskell API Bindings to the Open Source License API

Resources

License

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
You can’t perform that action at this time.