Changelog for from-1.0.0.1
Changelog for from
All notable changes to this project should be documented in this file.
The format is based on Keep a Changelog, and this project adheres to the Haskell Package Versioning Policy.
1.0.0.1 - 2025-10-24
Changed
- Split the test code into ordinary test and code generation test. The code generation test will not be run by default (by Hackage or Stackage, for example).
1.0.0.0 - 2025-10-24
Initial release.
Added
- Typeclasses
FromandTryFrom. - Instances of
Fromfor some fundamental type-mappings inbase:- All types in
Data.IntandData.Wordcan be both the source and the destination of the conversion. - The types
FloatandDoublecan be the destination, but not the source. Sofrom :: Int32 -> Floatexists, whilefrom :: Float -> Int32does not. - That's it. We begin with minimal instances intentionally. For example, there is no
instance From Int String. This is because it is tricky (often impossible) to selectively import instances, especially when the module dependency graph is complicated. We'd need to be careful about adding instances.
- All types in