Groups
Groups
Sign in
Groups
Groups
ats-lang-users
Conversations
Labels
About
Send feedback
Help
withtype keyword
38 views
general
type
Skip to first unread message
Artyom Shalkhakov
unread,
Oct 24, 2014, 4:52:14 AM
10/24/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ats-lan...@googlegroups.com
Hello,
What is withtype keyword? It is still supported by the lexer, yet there aren't any examples of its use.
I have been reading:
http://www.cs.bu.edu/~hwxi/academic/papers/JFPmp.pdf
where withtype is used for type-annotating a function written in SML-like syntax (p. 13). Is this keyword still supported?
Message has been deleted
gmhwxi
unread,
Oct 24, 2014, 12:40:18 PM
10/24/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ats-lan...@googlegroups.com
Yes, it is still supported.
It is the keyword for initiating a style of type annotation that
was used in DML. This style is rarely used nowadays. Here
is a simple example:
http://www.ats-lang.org/SERVER/MYCODE/Patsoptaas_serve.php?mycode_url=https://raw.githubusercontent.com/githwxi/ATS-Postiats/master/doc/EXAMPLE/TESTATS/withtype.dats
Reply all
Reply to author
Forward
0 new messages