
25 Feb
2014
25 Feb
'14
4:33 p.m.
It would be great to make some minor changes to time so that the Data.Time packages are Safe or Trustworthy for Safe Haskell. Currently I have a raft of packages that are Unsafe solely due to Data.Time being unsafe. The necessary changes are minor, and I changed nothing in the functions themselves. One module just needs to import Foreign.Safe rather than Foreign. Another is Unsafe due to use of rewrite rules; I simply marked those modules Trustworthy. Safe Haskell will be much more useful if modules that sit at the bottom of tall stacks, such as Data.Time, are Safe. Thanks, Omari