@@ -288,6 +288,14 @@ catMaybes (Nothing::xs) = catMaybes xs
288catMaybes ((Just j)::xs) with (catMaybes xs)
288catMaybes ((Just j)::xs) with (catMaybes xs)
289 | (_ ** tail) = (_ ** j::tail)
289 | (_ ** tail) = (_ ** j::tail)
291+range : Vect (Fin n) n
295+ range_ : Vect (Fin n) n
297+ range_ {n=(S _)} = last :: map weaken range_
291--------------------------------------------------------------------------------
299--------------------------------------------------------------------------------
293--------------------------------------------------------------------------------
301--------------------------------------------------------------------------------