Prval vs val: is there still a difference in ATS2?

16 views
Skip to first unread message

Yannick Duchêne

unread,
Aug 8, 2014, 4:11:58 AM8/8/14
to ats-lan...@googlegroups.com
ATS2 recognize the keyword `prval`. Seems in old ATS1 programs, `prval` was, as its name suggest, used to hold proof variables. With ATS2, seems `val` can be substituted for `prval`.

Is this just that I met a special case where it works or is this ATS2 not requiring any‑more to use `prval`?

If the answer is yes, then is this related to some other similar changes which one should know?


gmhwxi

unread,
Aug 8, 2014, 9:39:50 AM8/8/14
to ats-lan...@googlegroups.com
If you just do typechecking, then 'prval' can be replaced with 'val'.
After typechecking, 'prval' is erased but 'val' is not.
Reply all
Reply to author
Forward
0 new messages