-- |
-- Module:      Salak
-- Copyright:   (c) 2019 Daniel YU
-- License:     BSD3
-- Maintainer:  leptonyu@gmail.com
-- Stability:   experimental
-- Portability: portable
--
-- This module is designed for implementating configuration file loading.
-- Please don't use if you are not implemanting a new configuration file.
--
module Salak.Load(
  -- * SourcePack
    Source
  , SourcePack
  , addErr
  , newVStr
  -- * Selector
  , Selector(..)
  , simpleSelectors
  -- * Source
  , emptySource
  , nullSource
  , insertSource
  , updateSources
  , updateSource
  -- * Load
  , tryLoadFile
  , load
  , loadOnce
  ) where

import           Salak.Types
import           Salak.Types.Selector
import           Salak.Types.Source
import           Salak.Types.Value