Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 349 Bytes

File metadata and controls

20 lines (13 loc) · 349 Bytes

purescript-erl-env

Library for fetching values set with, for example, Config in Elixir.

Examples

With Config setting the following

config :my_app, my_key: "my_value"

You can fetch the value with

import Env as Env

fetchesValue :: Effect String
fetchesValue = Env.getEnv (atom "my_app") (atom "my_key")