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
-
-
Replying to @anormalform
Case in point: I have `lt : a -> a -> Type` as a data parameter but in constructors it's resolved as the function `lt : a -> a -> Bool`...
1 reply 0 retweets 0 likes -
Replying to @anormalform
Then I get an obscure error message telling me there's a type mismatch. No there's not. A parameter should shadow whatever Prelude brings in
1 reply 0 retweets 0 likes -
Replying to @anormalform
While I'm at it: I'd like to use vars starting with a Capital without it guessing it's a Cons. I want to write `(a : A)`, not `(eltA : a)`.
1 reply 0 retweets 1 like -
-
Replying to @anormalform
@eisaru There are rules for this… it isn't trying to read your mind.
2 replies 0 retweets 0 likes -
Replying to @edwinbrady
@edwinbrady I know that there are rules, I just don't agree with them. :)1 reply 0 retweets 0 likes -
Replying to @anormalform
@eisaru Well, you don't have to like them… but I'm not convinced the example you ranted about is doing what you think, so I'd like to see it
1 reply 0 retweets 0 likes
@eisaru all it does automatically is bind names, and you can turn that off…
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.