and add support for binary operations. This version of requirements generation simply generates every numeric size within a provided range, and then will reject trait implementations that rely on values outside this range. It should be a little more easy to reason about, and easier to make local changes as I (inevitably) need to modify rules.
31 lines
1008 B
Plaintext
31 lines
1008 B
Plaintext
cabal-version: 2.0
|
|
-- Initial package description 'generation.cabal' generated by 'cabal
|
|
-- init'. For further documentation, see
|
|
-- http://haskell.org/cabal/users-guide/
|
|
|
|
name: generation
|
|
version: 0.1.0.0
|
|
synopsis: Generates the cryptonum Rust library, based on requirements.
|
|
homepage: http://github.com/acw/cryptonum
|
|
license: ISC
|
|
license-file: LICENSE
|
|
author: Adam Wick
|
|
maintainer: awick@uhsure.com
|
|
copyright: 2019
|
|
category: Math
|
|
build-type: Simple
|
|
extra-source-files: CHANGELOG.md
|
|
|
|
executable generation
|
|
main-is: Main.hs
|
|
other-modules: BinaryOps, File, Gen, UnsignedBase
|
|
-- other-extensions:
|
|
build-depends: base ^>=4.12.0.0,
|
|
containers,
|
|
directory,
|
|
filepath,
|
|
mtl
|
|
hs-source-dirs: src
|
|
default-language: Haskell2010
|
|
ghc-options: -Wall
|