You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See following transcript:
prompt> let b = [fresh 'a', fresh 'a']
prompt> b
['x1043,'x1044] : [Symbol]
prompt> b
['x1043,'x1044] : [Symbol]
prompt> freshen b
(['x1049,'x1050],[('x1043,'x1049),('x1044,'x1050)]) :
([Symbol],[(Symbol,Symbol)])
Same input results in different values --> referential transparency broken.
This is not acceptable in a pure language. At least (fresh, freshen) should
live in the IO monad.
Original issue reported on code.google.com by ggr...@gmail.com on 7 Dec 2010 at 12:10
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
ggr...@gmail.com
on 7 Dec 2010 at 12:10The text was updated successfully, but these errors were encountered: