purescript 0.4.11 → 0.4.11.1
raw patch · 3 files changed
+3/−3 lines, 3 files
Files
- purescript.cabal +1/−1
- src/Language/PureScript/Optimizer/Common.hs +1/−1
- src/Language/PureScript/Pretty/Values.hs +1/−1
purescript.cabal view
@@ -1,5 +1,5 @@ name: purescript-version: 0.4.11+version: 0.4.11.1 cabal-version: >=1.8 build-type: Custom license: MIT
src/Language/PureScript/Optimizer/Common.hs view
@@ -47,7 +47,7 @@ check _ = False isRebound :: (Data d) => JS -> d -> Bool-isRebound js d = any (`isReassigned` d) (everything (++) (mkQ [] variablesOf) js)+isRebound js d = any (\v -> isReassigned v d || isUpdated v d) (everything (++) (mkQ [] variablesOf) js) where variablesOf (JSVar var) = [var] variablesOf _ = []
src/Language/PureScript/Pretty/Values.hs view
@@ -72,7 +72,7 @@ , withIndent $ prettyPrintMany prettyPrintDoNotationElement els , currentIndent ]- match (TypeClassDictionary _ _) = error "Type class dictionary was not replaced"+ match (TypeClassDictionary _ _) = return "<<dict>>" match (TypedValue _ val _) = prettyPrintValue' val match (PositionedValue _ val) = prettyPrintValue' val match _ = mzero