Carp/CarpHask.cabal
Erik Svedäng 3b429541a3
refactor: Clean up memory management functions (#1240)
* refactor: Mid-refactor save point.

* feat: Code compiles

* refactor: Remove unused imports

* refactor: Move functions out of massive `manageMemory` block

* refactor: Move out even more functions from `manageMemory`

* refactor: Made most patterns match on "head form" of each s-expression

e.g. (if a b c) matches on 'if', 'a', 'b' and 'c'

* refactor: Use the pattern synonyms in Memory

* refactor: Remove a little cruft

* refactor: whenOK function

* refactor: Use 'whenRight' functions to avoid directly matching on Either

* docs: Comment the 'getConcretizedPath' function

* refactor: Move functionFinding-functions into Polymorphism module
2021-06-16 21:41:58 +02:00

132 lines
4.0 KiB
Plaintext

name: CarpHask
version: 0.5.1.0
-- synopsis:
-- description:
homepage: https://github.com/eriksvedang/Carp
license: Apache-2.0
license-file: LICENSE
author: Erik Svedäng
maintainer: erik.svedang@gmail.com
copyright: Erik Svedäng
category: General
build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10
library
ghc-options: -Wall -Werror
hs-source-dirs: src
exposed-modules: ArrayTemplates,
AssignTypes,
ColorText,
Commands,
Concretize,
Constraints,
Context,
Deftype,
Emit,
Env,
EvalError,
Eval,
Expand,
Forms,
GenerateConstraints,
Infer,
Info,
InitialTypes,
Interfaces,
Managed,
Map,
Memory,
Meta,
Obj,
Parsing,
Path,
Polymorphism,
Primitives,
PrimitiveError
Project,
Qualify,
Reify,
RenderDocs,
Repl,
Set,
Scoring,
StartingEnv,
StaticArrayTemplates,
StructUtils,
SumtypeCase,
Sumtypes,
SymPath,
Template,
ToTemplate,
TypeError,
TypePredicates,
Types,
TypesToC,
Util,
Validate
build-depends: base >= 4.7 && < 5
, parsec == 3.1.*
, mtl
, containers
, process
, directory
, filepath
, split
, hashable
, haskeline
, blaze-html
, blaze-markup
, text
, ansi-terminal >= 0.10.3
, cmark
, edit-distance
, open-browser
default-language: Haskell2010
executable carp
hs-source-dirs: app
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base
, CarpHask
, containers
, directory
, filepath
, haskeline
, process
, optparse-applicative
default-language: Haskell2010
executable carp-header-parse
hs-source-dirs: headerparse
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base
, CarpHask
, containers
, directory
, parsec
, optparse-applicative
default-language: Haskell2010
test-suite CarpHask-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: base
, CarpHask
, HUnit
, containers
other-modules: TestConstraints
, TestLookup
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/carp-lang/Carp