The variables in the head of an instance declaration are in scope for the methods being defined. Look out for unintentional shadowing!
-
-
Replying to @IdrisTips
@IdrisTips@edwinbrady Why should developers look out for that? Why not the compiler?2 replies 0 retweets 0 likes
Replying to @tim_hunt
@tim_hunt Actually it's only true if those variables are parameters... (i.e. fixed across the whole definition) @IdrisTips
2:19 AM - 19 Feb 2014
0 replies
1 retweet
0 likes
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.