This is an old revision of the document!


Curry Style Guide

There is a preferred style for writing Curry programs. Following this style make it easier for others to read your programs. Of course, there might be personal preferences but, if there are no good reasons, one should follow this style. Changes of this style should be discussed in the Curry mailing list.

The style guide is available as a separate web page.

There is also some automatic support to check whether a Curry program follows some parts of this style guide. The recent releases of the Curry systems PAKCS and KiCS2 contain a style checker which can be invoked by the command

  curry style <Curry program>

It should be noted that these tools checks only a small part of the style rules (mainly indentation rules).

/srv/dokuwiki/currywiki/data/attic/documentation/style_guide.1487938918.txt.gz · Last modified: 2017-02-24 13:21 by mh
Back to top
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0