Skip to content

Commit bba62a4

Browse files
committed
small proofs
1 parent fd35f36 commit bba62a4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

content/design.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ prove maximum amount of resources it takes to execute.
1717
## Language features
1818

1919
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.
2323

2424
It has the following distinguishing features, which taken together set it aside from other existing languages:
2525

@@ -224,7 +224,9 @@ sample =? north – if sample == north
224224

225225
#### Composition operators
226226

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.
228230

229231
<aside>
230232
<p><code>(,)</code> is the initial object in the category $\mathbf{Cation}$ of all Cation data types. It corresponds to

0 commit comments

Comments
 (0)