Popularity
1.0
Declining
Activity
0.0
Stable
0
2
0

Monthly Downloads: 8
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Library    
Latest version: v0.1.0.0

cfenv alternatives and similar packages

Based on the "Library" category.
Alternatively, view cfenv alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of cfenv or a related project?

Add another 'Library' Package

README

Haskell CFEnv

Build Status

A port of go-cfenv for Haskell.

The purpose of this library is to assist you in writing Haskell apps that run on Cloud Foundry. It provides convenience functions and structures that map to Cloud Foundry environment variable primitives.

Usage

{-# LANGUAGE OverloadedStrings #-}

import Data.String (fromString)
import Data.Monoid (mconcat)

import Web.Scotty

import qualified System.CloudFoundry.Environment as CfEnv

main = do
  app <- CfEnv.current

  scotty (CfEnv.port app) $
    get "/" $ do
      html $ mconcat ["<pre>", (fromString (show app)), "</pre>"] 

Documentation

For me information see cfenv on Hackage.

Missing Functionality

  • Find services by pattern matching
  • Some cases from go-cfenv around handling missing data