Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include generated Cabal file #7

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
/.cabal-sandbox
/dist
/.stack-work
/typelits-witnesses.cabal
/.ghc.environment.*
/dist-newstyle
52 changes: 52 additions & 0 deletions typelits-witnesses.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.0.
--
-- see: https://github.com/sol/hpack

name: typelits-witnesses
version: 0.4.0.0
synopsis: Existential witnesses, singletons, and classes for operations on GHC TypeLits
description: This library contains:
.
* A small specialized subset of the *singletons* library as it pertains to
`Nat` and `Symbol`, for when you need some simple functionality without
wanting to invoke the entire *singletons* library.
* Operations for manipulating these singletons and `KnownNat` and
`KnownSymbol` instances, such as addition and multiplication of
singletons/`KnownNat` instances.
* Operations for the comparison of `Nat`s in a way that works well with
*GHC.TypeLits*'s different comparison systems. This is helpful for
bridging together libraries that use different systems; this functionality
is not yet provided by *singletons*.
category: Data
homepage: https://github.com/mstksg/typelits-witnesses
author: Justin Le
maintainer: [email protected]
copyright: (c) Justin Le 2018
license: MIT
license-file: LICENSE
build-type: Simple
tested-with:
GHC>=8.2
extra-source-files:
README.md
CHANGELOG.md

source-repository head
type: git
location: git://github.com/mstksg/typelits-witnesses.git

library
exposed-modules:
GHC.TypeLits.Compare
GHC.TypeLits.Witnesses
other-modules:
Paths_typelits_witnesses
hs-source-dirs:
src
ghc-options: -Wall -Wredundant-constraints -Werror=incomplete-patterns -Wcompat
build-depends:
base >=4.10 && <5
, dependent-sum
default-language: Haskell2010