@hackage hs2ats0.3.0.4
Create ATS types from Haskell types
Installation
Dependencies (9)
- ansi-wl-pprint
- base >=4.7 && <5
- casing
- composition-prelude
- cpphs
- deepseq Show all…
Dependents (1)
@hackage/shake-ats
Package Flags
development
(off by default)
Enable `-Werror`
hs2ats
This is a tool to convert Haskell types to ATS types.
Example use:
hs2ats --src DataTypes.hs --target generated_types.sats
Note that hs2ats does not preserve strictness semantics.
Installation
Install cabal. Then:
cabal new-install hs2ats --symlink-bindir ~/.cabal/bin
or
cabal new-install hs2ats --alex-options='-g' --happy-options='-gcsa' --symlink-bindir ~/.cabal/bin