File: basement.cabal

package info (click to toggle)
haskell-basement 0.0.16-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,048 kB
  • sloc: haskell: 11,336; ansic: 63; makefile: 5
file content (159 lines) | stat: -rw-r--r-- 5,404 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
name:                basement
version:             0.0.16
synopsis:            Foundation scrap box of array & string
description:         Foundation most basic primitives without any dependencies
license:             BSD3
license-file:        LICENSE
copyright:           2015-2017 Vincent Hanquez <vincent@snarc.org>
                   , 2017-2018 Foundation Maintainers
maintainer:          vincent@snarc.org
category:            Web
build-type:          Simple
homepage:            https://github.com/haskell-foundation/foundation#readme
bug-reports:         https://github.com/haskell-foundation/foundation/issues
cabal-version:       1.18
extra-source-files:  cbits/*.h

source-repository head
  type: git
  location: https://github.com/haskell-foundation/foundation
  subdir: basement

library
  hs-source-dirs:    .
  exposed-modules:
                     Basement.Imports

                     Basement.Base16
                     Basement.Bindings.Memory
                     Basement.Endianness
                     Basement.Environment
                     Basement.PrimType

                     Basement.Exception
                     Basement.Cast
                     Basement.From

                     Basement.Types.Char7
                     Basement.Types.CharUTF8
                     Basement.Types.OffsetSize
                     Basement.Types.Ptr
                     Basement.Types.AsciiString
                     Basement.Types.Word128
                     Basement.Types.Word256
                     Basement.Monad
                     Basement.MutableBuilder
                     Basement.FinalPtr

                     Basement.Nat

                     -- Extended Types
                     Basement.BoxedArray
                     Basement.Block
                     Basement.Block.Mutable
                     Basement.Block.Builder
                     Basement.UArray
                     Basement.UArray.Mutable
                     Basement.String
                     Basement.String.Builder
                     Basement.NonEmpty

                     -- Extended Types with explicit type level size
                     Basement.Sized.Block
                     Basement.Sized.UVect
                     Basement.Sized.Vect
                     Basement.Sized.List
                     Basement.BlockN

                     -- Utils
                     Basement.NormalForm
                     Basement.These

                     -- Terminal
                     Basement.Terminal
                     Basement.Terminal.ANSI

                     -- numeric stuff
                     Basement.IntegralConv
                     Basement.Floating
                     Basement.Numerical.Number
                     Basement.Numerical.Additive
                     Basement.Numerical.Subtractive
                     Basement.Numerical.Multiplicative
                     Basement.Bounded

                     -- exported algorithms
                     Basement.Alg.XorShift

                     -- compat / base redefinition
                     Basement.Compat.AMP
                     Basement.Compat.Base
                     Basement.Compat.Bifunctor
                     Basement.Compat.CallStack
                     Basement.Compat.C.Types
                     Basement.Compat.ExtList
                     Basement.Compat.IsList
                     Basement.Compat.Identity
                     Basement.Compat.Primitive
                     Basement.Compat.PrimTypes
                     Basement.Compat.MonadTrans
                     Basement.Compat.Semigroup
                     Basement.Compat.Natural
                     Basement.Compat.NumLiteral
                     Basement.Compat.Typeable

                     Basement.Bits

  other-modules:
                     Basement.Error
                     Basement.Show
                     Basement.Runtime

                     Basement.Alg.Class
                     Basement.Alg.Mutable
                     Basement.Alg.PrimArray

                     Basement.Alg.UTF8
                     Basement.Alg.String

                     Basement.Numerical.Conversion

                     Basement.Block.Base

                     Basement.UTF8.Base
                     Basement.UTF8.Helper
                     Basement.UTF8.Table
                     Basement.UTF8.Types

                     Basement.UArray.Base

                     Basement.String.CaseMapping
                     Basement.String.Encoding.Encoding
                     Basement.String.Encoding.UTF16
                     Basement.String.Encoding.UTF32
                     Basement.String.Encoding.ASCII7
                     Basement.String.Encoding.ISO_8859_1

                     Basement.Terminal.Size

  -- support and dependencies
  if impl(ghc < 8.10)
    buildable: False
  else
    build-depends:     base
                     , ghc-prim
    if os(windows)
      build-depends:   Win32

  default-language:    Haskell2010
  default-extensions: NoImplicitPrelude
                      RebindableSyntax
                      TypeFamilies
                      BangPatterns
                      DeriveDataTypeable
  if (arch(i386) || arch(x86_64))
    cpp-options: -DARCH_IS_LITTLE_ENDIAN
  else
    cpp-options: -DARCH_IS_UNKNOWN_ENDIAN
  include-dirs:      cbits
  c-sources:         cbits/foundation_mem.c