From 2067fb7459bc3f276527dc5b32c55adde5ffacc7 Mon Sep 17 00:00:00 2001 From: Patrick Thomson Date: Mon, 30 Apr 2018 16:29:39 -0400 Subject: [PATCH] lints --- src/Data/Syntax/Expression.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Data/Syntax/Expression.hs b/src/Data/Syntax/Expression.hs index f2135bf59..48560efd5 100644 --- a/src/Data/Syntax/Expression.hs +++ b/src/Data/Syntax/Expression.hs @@ -210,8 +210,8 @@ instance Show1 Subscript where liftShowsPrec = genericLiftShowsPrec -- TODO: Implement Eval instance for Subscript instance Evaluatable Subscript where eval (Subscript l [r]) = join (index <$> subtermValue l <*> subtermValue r) - eval (Subscript _ _) = throwResumable (Unspecialized ("Eval unspecialized for subscript with slices")) - eval (Member _ _) = throwResumable (Unspecialized ("Eval unspecialized for member access")) + eval (Subscript _ _) = throwResumable (Unspecialized "Eval unspecialized for subscript with slices") + eval (Member _ _) = throwResumable (Unspecialized "Eval unspecialized for member access") -- | Enumeration (e.g. a[1:10:1] in Python (start at index 1, stop at index 10, step 1 element from start to stop))