@@ -301,6 +301,14 @@ catMaybes (Nothing::xs) = catMaybes xs
301catMaybes ((Just j)::xs) with (catMaybes xs)
301catMaybes ((Just j)::xs) with (catMaybes xs)
302 | (_ ** tail) = (_ ** j::tail)
302 | (_ ** tail) = (_ ** j::tail)
304+range : Vect (Fin n) n
308+ range_ : Vect (Fin n) n
310+ range_ {n=(S _)} = last :: map weaken range_
304--------------------------------------------------------------------------------
312--------------------------------------------------------------------------------
306--------------------------------------------------------------------------------
314--------------------------------------------------------------------------------