hs2ats: Create ATS types from Haskell types

[ ats, bsd3, haskell, language, library, program ] [ Propose Tags ]

This package enables scanning Haskell source files for data types and then generating ATS types from them.

[Skip to Readme]
Versions [faq],,,,,,,,,,,,,,,,,,,,,,,
Change log CHANGELOG.md
Dependencies ansi-wl-pprint, base (>=4.7 && <5), casing, composition-prelude, cpphs, deepseq, haskell-src-exts, hs2ats, language-ats (>=, microlens, optparse-generic [details]
License BSD-3-Clause
Copyright Copyright: (c) 2018 Vanessa McHale
Author Vanessa McHale
Maintainer vamchale@gmail.com
Category Language, Haskell, ATS
Uploaded by vmchale at Thu Nov 1 01:49:39 UTC 2018
Distributions NixOS:
Executables hs2ats
Downloads 1720 total (336 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-11-02 [all 1 reports]


[Index] [Quick Jump]



Enable -Werror


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for hs2ats-

[back to package description]


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.


Install cabal. Then:

cabal new-install hs2ats