[commit: packages/deepseq] down, master, wip/remove_ghc70_72_cpp: Added NFData instance for Ordering (acfc3e0)

git at git.haskell.org git at git.haskell.org
Wed Jul 19 21:59:09 UTC 2017


Repository : ssh://git@git.haskell.org/deepseq

On branches: down,master,wip/remove_ghc70_72_cpp
Link       : http://git.haskell.org/packages/deepseq.git/commitdiff/acfc3e091c381e4fec42e7bc1b320a9a7c6f4d8f

>---------------------------------------------------------------

commit acfc3e091c381e4fec42e7bc1b320a9a7c6f4d8f
Author: Shane <shane at duairc.com>
Date:   Tue Oct 25 11:09:50 2016 +0100

    Added NFData instance for Ordering


>---------------------------------------------------------------

acfc3e091c381e4fec42e7bc1b320a9a7c6f4d8f
 Control/DeepSeq.hs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Control/DeepSeq.hs b/Control/DeepSeq.hs
index ca01c53..4d7e9e6 100644
--- a/Control/DeepSeq.hs
+++ b/Control/DeepSeq.hs
@@ -286,6 +286,7 @@ instance NFData Double   where rnf !_ = ()
 
 instance NFData Char     where rnf !_ = ()
 instance NFData Bool     where rnf !_ = ()
+instance NFData Ordering where rnf !_ = ()
 instance NFData ()       where rnf !_ = ()
 
 instance NFData Int8     where rnf !_ = ()



More information about the ghc-commits mailing list