I really don't like the way scoping works in Idris. I feel like it tries to do too much automagically & just fails to understand what I mean
@eisaru …though thinking about it, perhaps as lt is a parameter, the rules are wrong here. Some more thought needed, perhaps.
-
-
@edwinbrady PE Dagand had a fairly nice syntax to allow the sort of interleaving of parameters & indices you have whilst still tagging them. -
@edwinbrady IIRC, params were between "[...]" whilst indices were between "(...)". So you'd have `data Vect : [a : Set] -> (n : Nat) -> Set` - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.