1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00

whitespace

This commit is contained in:
Patrick Thomson 2018-04-30 16:19:17 -04:00
parent 214045dd98
commit 25813e00e0

View File

@ -270,7 +270,7 @@ instance ( Monad (m effects)
| ii > genericLength list = throwResumable @(ValueError location (Value location)) (BoundsError list ii)
| otherwise = pure (genericIndex list ii)
go arr idx
| (Just (Array arr, Integer (Number.Integer i))) <- prjPair (arr, idx) = tryIdx arr i
| (Just (Array arr, Integer (Number.Integer i))) <- prjPair (arr, idx) = tryIdx arr i
| (Just (Tuple tup, Integer (Number.Integer i))) <- prjPair (arr, idx) = tryIdx tup i
| otherwise = throwResumable @(ValueError location (Value location)) (IndexError arr idx)