Skip to content

Commit d6e26cf

Browse files
committed
adjust warning
1 parent eb1c786 commit d6e26cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Control/DeepSeq.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ instance NFData1 Fixed where liftRnf _ = rwhnf
533533
-- @since 1.3.0.0
534534
-- @deprecated 1.5.1.1
535535
#if __GLASGOW_HASKELL__ >= 910
536-
instance {-# DEPRECATED "functions cannot be in normal form" #-} NFData (a -> b) where rnf = rwhnf
536+
instance {-# DEPRECATED "NFData is not well-defined on function types. https://github.com/haskell/deepseq/issues/16" #-} NFData (a -> b) where rnf = rwhnf
537537
#else
538538
instance NFData (a -> b) where rnf = rwhnf
539539
#endif

0 commit comments

Comments
 (0)