Skip to main content

Popularity Report

Total Popularity Score: 0

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Rank

URL Tag Cloud

Bookmark History

Saved by 1 people (0 private), first by anonymouse user on 2007-10-10


Public Sticky notes

Each program in Clean computes the value of the expression Start.

Highlighted by ratbeard

An infix operator is in fact just an ordinary function of two arguments that is written between its arguments: x^n.

Highlighted by ratbeard

A guard is a boolean expression that can be inserted between the patterns of a function alternative and the symbol =. The symbol | separates the patterns and the guard. The alternative is only applied when the guards yields True.

Highlighted by ratbeard

In general a list comprehension yields the list of values indicated between [ and \\. These values are computed for each element of the generators (between // and |), that obeys the condition between | and ]

Highlighted by ratbeard

The scope of local definitions is the function alternative where they are defined. Local definitions are used to limit the scope of definitions, to share a value or to name an expression.

Highlighted by ratbeard

In this example the generators are separated by a semicolon, this implies that all possible combinations of elements from the generators are considered.

Highlighted by ratbeard

In Clean a class is a family of functions with the same name. The difference between these family members is the type processed.

Highlighted by ratbeard

This reads the increment of item i, is that item with the field quantity set to the increment of that field from the argument record.

Highlighted by ratbeard

To be member of the same class, datatypes need not have any relation. It is sufficient that the appropriate functions are defined for that datatype.

Highlighted by ratbeard

the classes in Clean are more general than the notion of classes in most object oriented languages.

Highlighted by ratbeard

The terse syntax makes that you have a clear view over what is actually happening in this function.

Highlighted by ratbeard

The static type system of Clean guarantees that runtime type errors cannot occur.

Highlighted by ratbeard

Readers (1)