packages feed

ats-pkg 2.1.0.0 → 2.1.0.3

raw patch · 4 files changed

+32/−8 lines, 4 filesdep ~composition-preludedep ~dhalldep ~shake-atssetup-changedPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: composition-prelude, dhall, shake-ats

API changes (from Hackage documentation)

Files

README.md view
@@ -136,4 +136,28 @@  You can see a demo [here](https://github.com/vmchale/fast-arithmetic). Currently, there is not generic `Storable` instance for ATS, so the process is-a bit more involved than is ideal.+a bit more involved than is ideal. `atspkg` has abilities similar to+[hs2ats](http://hackage.haskell.org/package/hs2ats), which means that you can+usually generate ATS types based on the Haskell types.++The following is a minimal example of a configuration file:++```dhall+let pkg = https://raw.githubusercontent.com/vmchale/atspkg/master/pkgs/default.dhall+in+let dbin = https://raw.githubusercontent.com/vmchale/atspkg/master/pkgs/default-bin.dhall++in pkg //+  { bin =+    [+      dbin //+      { src = "src/project.dats"+      , target = "target/project"+      , hsDeps = [ { cabalFile = "hs/foreign.cabal", objectFile = "hs/Foreign.o" } ]+      , hs2ats = [ { hs = "hs/Foreign.hs", ats = ".atspkg/hs2ats/gen.sats" } ]+      }+    ]+    , ccompiler = "ghc-8.2.2"+    , cflags = ["-package-db", "hs/dist-newstyle/packagedb/ghc-8.2.2/", "-optc-O2", "-optc-flto", "-optc-mtune=native", "hs/Foreign"]+  }+```
Setup.hs view
@@ -6,4 +6,4 @@  main :: IO () main = defaultMainWithHooks $-    simpleUserHooks { preConf = \_ _ -> writeBashCompletions "atspkg" >> pure emptyHookedBuildInfo }+    simpleUserHooks { preConf = \_ _ -> writeTheFuck >> writeBashCompletions "atspkg" >> pure emptyHookedBuildInfo }
ats-pkg.cabal view
@@ -1,5 +1,5 @@ name:                ats-pkg-version:             2.1.0.0+version:             2.1.0.3 synopsis:            Package manager for ATS description:         A collection of scripts to make building ATS projects easy. homepage:            https://github.com/vmchale/atspkg#readme@@ -23,7 +23,7 @@ custom-setup   setup-depends:     base                    , Cabal >= 2.0-                   , cli-setup >= 0.1.0.2+                   , cli-setup >= 0.2.0.1  library   hs-source-dirs:      src@@ -50,7 +50,7 @@                      , unix                      , lens                      , dhall-                     , shake-ats >= 1.0.0.2+                     , shake-ats >= 1.1.0.0                      , shake-ext >= 2.0.0.0                      , composition-prelude >= 1.1.0.2                      , optparse-applicative
stack.yaml view
@@ -3,11 +3,11 @@ packages:   - '.' extra-deps:-  - shake-ext-2.1.0.0-  - shake-ats-1.0.0.2+  - shake-ext-2.1.0.1+  - shake-ats-1.1.0.0   - composition-prelude-1.1.0.2   - language-ats-0.1.1.11-  - cli-setup-0.1.0.3+  - cli-setup-0.2.0.1   - hs2ats-0.2.0.1 flags:   ats-pkg: