@@ -17,9 +17,9 @@ prove maximum amount of resources it takes to execute.
17
17
## Language features
18
18
19
19
Cation is made for practical tasks: we attempt to make it easy-to-read and write, avoiding as much of boilerplate code
20
- as possible. There are just five built-in keywords; monadic programming effortless: one does not need to declare set of
21
- possible error types ahead. Cation has indentation-based syntax, which makes it much more visually readable and sets it
22
- aside from curly-braced languages like C/C++, Rust, Scala... and makes it similar to Idris, Haskell, Python.
20
+ as possible. There are just five built-in keywords; monadic programming is effortless: one does not need to declare set
21
+ of possible error types ahead. Cation has indentation-based syntax, which makes it much more visually readable and sets
22
+ it aside from curly-braced languages like C/C++, Rust, Scala... and makes it similar to Idris, Haskell, Python.
23
23
24
24
It has the following distinguishing features, which taken together set it aside from other existing languages:
25
25
@@ -224,7 +224,9 @@ sample =? north – if sample == north
224
224
225
225
#### Composition operators
226
226
227
- Operators ` ( ) ` , ` [ ] ` and ` { } ` are called composition operators and simplify composition operations.
227
+ Operators ` ( ) ` , ` [ ] ` and ` { } ` are called composition operators; they are used to create types via categorical
228
+ composition of existing types, i.e. act as natural transformations defining new functors (as type constructors) from
229
+ existing ones.
228
230
229
231
<aside >
230
232
<p ><code >(,)</code > is the initial object in the category $\mathbf{Cation}$ of all Cation data types. It corresponds to
0 commit comments