isevaluated 0.3.0.1 → 0.3.0.2
raw patch · 2 files changed
+5/−5 lines, 2 files
Files
- Data/IsEvaluated.hs +3/−3
- isevaluated.cabal +2/−2
Data/IsEvaluated.hs view
@@ -16,7 +16,7 @@ -- The code below is based on compiler/ghci/RtClosureInspect.hs -#include "ClosureTypes.h"+#include "rts/storage/ClosureTypes.h" module Data.IsEvaluated ( isEvaluated@@ -52,11 +52,11 @@ _ | tipe >= IND && tipe <= IND_STATIC -- We found an indirection. Follow it. --- -- We can not assume that this value is fully evaluated:+ -- We cannot assume that this value is fully evaluated: -- If a CAF evaluates to bottom, we end up with a IND_STATIC -- indirection pointing to a thunk that evaluates to bottom again. --- -- We have to be careful to actually do the array lookup without+ -- We have to be careful to perform the array lookup without -- forcing the found element - this rules out using GHC.Arr.! -> case indexArray# ptrs 0# of (# a #) -> isEvaluated a
isevaluated.cabal view
@@ -1,8 +1,8 @@ Name: isevaluated-Version: 0.3.0.1+Version: 0.3.0.2 Category: Data, GHC Stability: experimental-Copyright: (c) 2009, 2010 Svein Ove Aas and Bertram Felgenhauer+Copyright: (c) 2009-2012 Svein Ove Aas and Bertram Felgenhauer Maintainer: Bertram Felgenhauer <int-e@gmx.de> License: MIT License-File: LICENSE