type-machine
[Index] [Quick Jump] Package maintainers For package maintainers and hackage trustees Candidates TypeScript offers Utility Types, which allows creating a type from another. There is no way of doing this in Haskell. You have to maintain all your types yourselves, and handle conversions from one to another yourself. type-machine brings a solution to this problem. Using Template Haskell, generate new types using Type-Script-inspired functions like omit, pick and record. It can also generate a conversion type-class that allows you to access fields and convert one type to another.
Ecosystem
hackage.haskell.org
hackage.haskell.org
Latest Release
6 months ago
0.1.0.2
6 months ago
Versions
3
3
Downloads
36 total
36 total
Loading...
Readme
Loading...
Links
| Registry | hackage.haskell.org |
| Source | Repository |
| Homepage | Homepage |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:hackage/type-machine
spec |
| License | BSD-3-Clause |
| First Release | 7 months ago |
| Last Synced | 8 days ago |
Repository
| Stars | 0 on GitHub |
| Forks | 0 on GitHub |