mirror of
https://github.com/github/semantic.git
synced 2024-12-01 09:15:01 +03:00
whitespace
This commit is contained in:
parent
214045dd98
commit
25813e00e0
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user