uniformBase (empty) → 0.1.0
raw patch · 5 files changed
+133/−0 lines, 5 filesdep +basedep +uniform-algebrasdep +uniform-error
Dependencies added: base, uniform-algebras, uniform-error, uniform-fileio, uniform-strings, uniform-time
Files
- ChangeLog.md +5/−0
- LICENSE +24/−0
- README.md +6/−0
- UniformBase.hs +31/−0
- uniformBase.cabal +67/−0
+ ChangeLog.md view
@@ -0,0 +1,5 @@+# Changelog for UniformBase++++
+ LICENSE view
@@ -0,0 +1,24 @@+Copyright 2017, andrew u frank+All rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions are met:++- Redistributions of source code must retain the above copyright notice,+this list of conditions and the following disclaimer.++- Redistributions in binary form must reproduce the above copyright notice,+this list of conditions and the following disclaimer in the documentation+and/or other materials provided with the distribution.++THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND THE CONTRIBUTORS "AS IS"+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR THE+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ README.md view
@@ -0,0 +1,6 @@+# UniformBase++The package imports separately compilable and usable packages. This package and all its parts are self-contained and need no further imports; no need to import the subpackages individually.++The package depends indirectly on many often used packages but some concentration is planned in the future, using other attemps with similar goals. +
+ UniformBase.hs view
@@ -0,0 +1,31 @@+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE ExplicitNamespaces #-}++module UniformBase + ( module UniformBase+ , module Uniform.Zero+ , module Uniform.Pointless+ , module Uniform.Error+ , module Uniform.Strings+ , module Uniform.FileIO+ -- , module Uniform.Json+ -- , module Uniform.Yaml + , module Uniform.Time+ -- , module Uniform.Pandoc+ -- , module Uniform.StartApp -- in package Error + -- , module Uniform.CmdLineArgs + -- , Uniform.FileIO+ , Generic+ ) where++import Uniform.Zero+import Uniform.Pointless+import Uniform.Strings +import Uniform.FileIO+import Uniform.Error+-- import Uniform.Json+-- import Uniform.Yaml hiding (encode,decode)+ -- export qualified as Y.encode, Y.decode)+import Uniform.Time +import GHC.Generics
+ uniformBase.cabal view
@@ -0,0 +1,67 @@+cabal-version: 2.2++-- This file has been generated from package.yaml by hpack version 0.34.2.+--+-- see: https://github.com/sol/hpack+--+-- hash: 073686ee4318f7ee34ee1f331f377f809c2cf836ab6e01f497d375357df63fcc++name: uniformBase+version: 0.1.0+synopsis: A uniform base to build apps on+description: Goals:+ .+ - reducing the complexity for the programmer of applications, + .+ - functions with identical semantics independent of representation,+ .+ - all functions are total (or become so using Maybe or Either),+ .+ - compatible error reporting for all packages,+ .+ - avoid name clashes with other packages and assume the regular prelude,+ .+ - performance is NOT a goal - once the program logic is confirmed and tested, performance improvements can be achieved based on observations + .+ The packages included here deal with + .+ - a generally usable zero (null) value and other simplistic + algebras,+ .+ - handling of text independent of represenations and principled conversion between representations,+ .+ - a minimal error reporting as text error messages,+ .+ - bringing together functions to handle time,+ .+ - uniform functions to handle files and filepaths (`Filepath` and `Path`).+ .+ Please see the README on GitHub at <https://github.com/andrewufrank/uniformBase/readme>+category: Programming Uniform+bug-reports: https://github.com/andrewufrank/uniformBase/issues+author: Andrew Frank+maintainer: Andrew U. Frank <uniform@gerastree.at>+copyright: 2021 Andrew U. Frank+license: GPL-2.0-only+license-file: LICENSE+build-type: Simple+extra-source-files:+ README.md+ ChangeLog.md++library+ exposed-modules:+ UniformBase+ other-modules:+ Paths_uniformBase+ hs-source-dirs:+ ./.+ build-depends:+ base >=4.7 && <5+ , uniform-algebras+ , uniform-error+ , uniform-fileio+ , uniform-strings+ , uniform-time+ default-language: Haskell2010+ autogen-modules: Paths_uniformBase