I have noticed that ATS code posted here is no longer indented making it impossible to find where a block begins and ends. Am I missing something? May be a special editor mode? Thanks. --shiv--
--
You received this message because you are subscribed to the Google Groups "ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-users+unsubscribe@googlegroups.com.
To post to this group, send email to ats-lang-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/81b5be89-c321-4440-ba46-20bc82ea7178%40googlegroups.com.
a bit too expensive for the moment).I tend to spread such run-time checks in my code (when I feel proving isval () = assertloc(...)block.I tend to use comments to indicate the beginning and ending of aI guess I am guilt of it.I may have some sort of psychological aversion to indentation :)Just want to say a few words on coding style before closing the message:I like type-annotation a lot.
Using parentheses around an expressionand then adding a type-annotation is a very good style to me. See:val =
(case+ ... of) : some-type
| ...
| ...Also, run-time checks work really great:
On Thu, Apr 27, 2017 at 9:34 AM, Shivkumar Chandrasekaran <00s...@gmail.com> wrote:
I have noticed that ATS code posted here is no longer indented making it impossible to find where a block begins and ends. Am I missing something? May be a special editor mode? Thanks. --shiv--
--
You received this message because you are subscribed to the Google Groups "ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.
Visit this group at https://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/81b5be89-c321-4440-ba46-20bc82ea7178%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "ats-lang-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ats-lang-users/6ToDrDR5scg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ats-lang-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.
Visit this group at https://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/CAPPSPLrp0kz027ChQqtqWs5rv_VSgKLXQD58g7Jqk_s374YYPw%40mail.gmail.com.