servant-github 0.1.0.0 → 0.1.0.1
raw patch · 1 files changed
+12/−12 lines, 1 files
Files
- servant-github.cabal +12/−12
servant-github.cabal view
@@ -1,5 +1,5 @@ name: servant-github-version: 0.1.0.0+version: 0.1.0.1 synopsis: Bindings to GitHub API using servant. description: This package provides a servant-client based client for accessing the <https://developer.github.com/v3/ GitHub API v3>.@@ -10,17 +10,17 @@ support when the resulting value is a list. . >- > import System.Environment- > import Network.Github- > - > main = do- > token <- fmap fromString <$> lookupEnv "GITHUB_TOKEN"- > result <- runGitHub userOrganisations token- > case result of- > Left e -> print e- > Right orgs -> mapM_ print orgs- >- + > import System.Environment+ > import Data.String+ > import Network.GitHub+ > + > main = do+ > token <- fmap fromString <$> lookupEnv "GITHUB_TOKEN"+ > result <- runGitHub userOrganisations token+ > case result of+ > Left e -> print e+ > Right orgs -> mapM_ print orgs+ homepage: http://github.com/finlay/servant-github#readme license: BSD3 license-file: LICENSE