2022-02-06 01:15:42 +03:00
|
|
|
/* Color palette based on https://www.nordtheme.com/ */
|
|
|
|
body {
|
2022-03-15 14:37:33 +03:00
|
|
|
background-color: #2e3440;
|
2022-02-06 01:15:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ju-inductive {
|
2022-03-15 14:37:33 +03:00
|
|
|
color: #a3be8c;
|
2022-02-06 01:15:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ju-constructor {
|
2022-03-15 14:37:33 +03:00
|
|
|
color: #b48ead;
|
2022-02-06 01:15:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ju-function {
|
2022-03-15 14:37:33 +03:00
|
|
|
color: #ebcb8b;
|
2022-02-06 01:15:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ju-axiom {
|
2022-03-15 14:37:33 +03:00
|
|
|
color: #bf616a;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ju-string {
|
|
|
|
color: #bf616a;
|
2022-02-06 01:15:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ju-keyword {
|
2022-03-15 14:37:33 +03:00
|
|
|
color: #81a1c1;
|
2022-02-06 01:15:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ju-delimiter {
|
2022-03-15 14:37:33 +03:00
|
|
|
color: #5e81ac;
|
2022-02-06 01:15:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ju-var {
|
2023-08-31 17:07:38 +03:00
|
|
|
color: #d8dee9;
|
2022-02-06 01:15:42 +03:00
|
|
|
}
|
|
|
|
|
User-friendly operator declaration syntax (#2270)
* Closes #1964
Adds the possibility to define operator fixities. They live in a
separate namespace. Standard library defines a few in
`Stdlib.Data.Fixity`:
```
syntax fixity rapp {arity: binary, assoc: right};
syntax fixity lapp {arity: binary, assoc: left, same: rapp};
syntax fixity seq {arity: binary, assoc: left, above: [lapp]};
syntax fixity functor {arity: binary, assoc: right};
syntax fixity logical {arity: binary, assoc: right, above: [seq]};
syntax fixity comparison {arity: binary, assoc: none, above: [logical]};
syntax fixity pair {arity: binary, assoc: right};
syntax fixity cons {arity: binary, assoc: right, above: [pair]};
syntax fixity step {arity: binary, assoc: right};
syntax fixity range {arity: binary, assoc: right, above: [step]};
syntax fixity additive {arity: binary, assoc: left, above: [comparison, range, cons]};
syntax fixity multiplicative {arity: binary, assoc: left, above: [additive]};
syntax fixity composition {arity: binary, assoc: right, above: [multiplicative]};
```
The fixities are identifiers in a separate namespace (different from
symbol and module namespaces). They can be exported/imported and then
used in operator declarations:
```
import Stdlib.Data.Fixity open;
syntax operator && logical;
syntax operator || logical;
syntax operator + additive;
syntax operator * multiplicative;
```
2023-08-09 19:15:51 +03:00
|
|
|
.ju-fixity {
|
2023-08-31 17:07:38 +03:00
|
|
|
color: #d08770;
|
User-friendly operator declaration syntax (#2270)
* Closes #1964
Adds the possibility to define operator fixities. They live in a
separate namespace. Standard library defines a few in
`Stdlib.Data.Fixity`:
```
syntax fixity rapp {arity: binary, assoc: right};
syntax fixity lapp {arity: binary, assoc: left, same: rapp};
syntax fixity seq {arity: binary, assoc: left, above: [lapp]};
syntax fixity functor {arity: binary, assoc: right};
syntax fixity logical {arity: binary, assoc: right, above: [seq]};
syntax fixity comparison {arity: binary, assoc: none, above: [logical]};
syntax fixity pair {arity: binary, assoc: right};
syntax fixity cons {arity: binary, assoc: right, above: [pair]};
syntax fixity step {arity: binary, assoc: right};
syntax fixity range {arity: binary, assoc: right, above: [step]};
syntax fixity additive {arity: binary, assoc: left, above: [comparison, range, cons]};
syntax fixity multiplicative {arity: binary, assoc: left, above: [additive]};
syntax fixity composition {arity: binary, assoc: right, above: [multiplicative]};
```
The fixities are identifiers in a separate namespace (different from
symbol and module namespaces). They can be exported/imported and then
used in operator declarations:
```
import Stdlib.Data.Fixity open;
syntax operator && logical;
syntax operator || logical;
syntax operator + additive;
syntax operator * multiplicative;
```
2023-08-09 19:15:51 +03:00
|
|
|
}
|
|
|
|
|
2023-08-30 16:55:15 +03:00
|
|
|
.ju-comment {
|
2023-08-31 17:07:38 +03:00
|
|
|
color: #83898d;
|
2023-08-30 16:55:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ju-judoc {
|
2023-08-31 17:07:38 +03:00
|
|
|
color: #8fbcbb;
|
2023-08-30 16:55:15 +03:00
|
|
|
}
|
|
|
|
|
2022-02-06 01:15:42 +03:00
|
|
|
.ju-number {
|
2023-08-31 17:07:38 +03:00
|
|
|
color: #d8dee9;
|
2022-02-06 01:15:42 +03:00
|
|
|
}
|
|
|
|
|
2023-08-30 16:55:15 +03:00
|
|
|
.ju-define {
|
2022-07-28 18:19:07 +03:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
User-friendly operator declaration syntax (#2270)
* Closes #1964
Adds the possibility to define operator fixities. They live in a
separate namespace. Standard library defines a few in
`Stdlib.Data.Fixity`:
```
syntax fixity rapp {arity: binary, assoc: right};
syntax fixity lapp {arity: binary, assoc: left, same: rapp};
syntax fixity seq {arity: binary, assoc: left, above: [lapp]};
syntax fixity functor {arity: binary, assoc: right};
syntax fixity logical {arity: binary, assoc: right, above: [seq]};
syntax fixity comparison {arity: binary, assoc: none, above: [logical]};
syntax fixity pair {arity: binary, assoc: right};
syntax fixity cons {arity: binary, assoc: right, above: [pair]};
syntax fixity step {arity: binary, assoc: right};
syntax fixity range {arity: binary, assoc: right, above: [step]};
syntax fixity additive {arity: binary, assoc: left, above: [comparison, range, cons]};
syntax fixity multiplicative {arity: binary, assoc: left, above: [additive]};
syntax fixity composition {arity: binary, assoc: right, above: [multiplicative]};
```
The fixities are identifiers in a separate namespace (different from
symbol and module namespaces). They can be exported/imported and then
used in operator declarations:
```
import Stdlib.Data.Fixity open;
syntax operator && logical;
syntax operator || logical;
syntax operator + additive;
syntax operator * multiplicative;
```
2023-08-09 19:15:51 +03:00
|
|
|
a:link,
|
|
|
|
a:visited {
|
|
|
|
text-decoration: none;
|
2022-02-06 01:15:42 +03:00
|
|
|
}
|
|
|
|
|
User-friendly operator declaration syntax (#2270)
* Closes #1964
Adds the possibility to define operator fixities. They live in a
separate namespace. Standard library defines a few in
`Stdlib.Data.Fixity`:
```
syntax fixity rapp {arity: binary, assoc: right};
syntax fixity lapp {arity: binary, assoc: left, same: rapp};
syntax fixity seq {arity: binary, assoc: left, above: [lapp]};
syntax fixity functor {arity: binary, assoc: right};
syntax fixity logical {arity: binary, assoc: right, above: [seq]};
syntax fixity comparison {arity: binary, assoc: none, above: [logical]};
syntax fixity pair {arity: binary, assoc: right};
syntax fixity cons {arity: binary, assoc: right, above: [pair]};
syntax fixity step {arity: binary, assoc: right};
syntax fixity range {arity: binary, assoc: right, above: [step]};
syntax fixity additive {arity: binary, assoc: left, above: [comparison, range, cons]};
syntax fixity multiplicative {arity: binary, assoc: left, above: [additive]};
syntax fixity composition {arity: binary, assoc: right, above: [multiplicative]};
```
The fixities are identifiers in a separate namespace (different from
symbol and module namespaces). They can be exported/imported and then
used in operator declarations:
```
import Stdlib.Data.Fixity open;
syntax operator && logical;
syntax operator || logical;
syntax operator + additive;
syntax operator * multiplicative;
```
2023-08-09 19:15:51 +03:00
|
|
|
a:hover,
|
|
|
|
a.hover-highlight {
|
|
|
|
background-color: #4c566a;
|
2022-02-06 01:15:42 +03:00
|
|
|
}
|
2022-06-21 18:03:22 +03:00
|
|
|
|
|
|
|
footer {
|
|
|
|
color: gray
|
|
|
|
}
|
|
|
|
|
|
|
|
footer a {
|
|
|
|
color: gray;
|
|
|
|
font-size: small;
|
|
|
|
font-weight: bold;
|
2023-08-30 16:55:15 +03:00
|
|
|
}
|