File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -531,7 +531,12 @@ instance NFData1 Fixed where liftRnf _ = rwhnf
531
531
-- This assumes that WHNF is equivalent to NF for functions.
532
532
--
533
533
-- @since 1.3.0.0
534
+ -- @deprecated 1.5.1.1
535
+ #if __GLASGOW_HASKELL__ >= 910
536
+ instance {-# DEPRECATED "functions cannot be in normal form" #-} NFData (a -> b ) where rnf = rwhnf
537
+ #else
534
538
instance NFData (a -> b ) where rnf = rwhnf
539
+ #endif
535
540
536
541
-- Rational and complex numbers.
537
542
Original file line number Diff line number Diff line change 2
2
3
3
## Upcoming
4
4
5
+ ## 1.5.1.1
5
6
7
+ * Deprecate function instance of NFData
8
+ ([ #16 ] ( https://github.com/haskell/deepseq/issues/16 ) , [ #109 ] ( https://github.com/haskell/deepseq/issues/109 ) )
6
9
7
10
## 1.5.1.0
8
11
Original file line number Diff line number Diff line change 1
1
cabal-version : 1.12
2
2
name : deepseq
3
- version : 1.5.1.0
3
+ version : 1.5.1.1
4
4
-- NOTE: Don't forget to update ./changelog.md
5
5
6
6
license : BSD3
You can’t perform that action at this time.
0 commit comments