|
|
|
|
|
by catnaroek
3768 days ago
|
|
> You can rebind variables in ghci No, you can't: http://pastebin.com/SdbKM7V7 In ML and Haskell, a new variable might shadow an old one (if they have the same name), but they are still different variables. Shadowing is slightly harder to implement than rebinding, but it provides a useful guarantee for the user: the meaning of existing definitions remains stable even if new definitions are introduced into the environment. |
|