Skip to content
This repository was archived by the owner on Jun 9, 2026. It is now read-only.

Repository files navigation

haskell-opensourceapi

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

Example

importNetwork.Protocol.OpenSource.License (licenseById, olName)
importControl.Monad.Trans.Except (runExceptT)
main =do
gpl <- runExceptT $ licenseById "LGPL-3.0"putStrLn$case gpl ofRight license ->show$ olName license
Lefterror->"Error during license request!"++showerror

Installing

cabal install opensource

About

Haskell API Bindings to the Open Source License API

Resources

Contributing

Stars

6 stars

Watchers

8 watching

Forks

Releases

Packages

Contributors

Languages