Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
magnus-madsen committed Mar 25, 2024
1 parent 1b8cb29 commit e1fe384
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
- [Traits](./traits.md)
- [Essential Traits](./essential-traits.md)
- [Automatic Derivation](./automatic-derivation.md)
- [Associated Types](./associated-types.md)
- [Associated Effects](./associated-effects.md)
- [Higher-Kinded Types](./higher-kinded-types.md)
- [Effects and Handlers](./effects-and-handlers.md)
- [Laziness](./laziness.md)
Expand Down
6 changes: 6 additions & 0 deletions src/associated-effects.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Associated Effects

> **Warning:** Associated effects are an experimental feature.
> **Warning:** Associated effects have not yet been released and are only
> available on nightly builds.
7 changes: 7 additions & 0 deletions src/associated-types.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Associated Types

> **Warning:** Associated types are an experimental feature.
> **Warning:** Associated types have not yet been released and are only
> available on nightly builds.
4 changes: 4 additions & 0 deletions src/traits.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Traits (also known as _type classes_) support abstraction and overloading. At a
first-glance, the trait system in Flix is similar to that of Haskell and Rust,
with some more important differences.

<div style="color:gray">

## Essentials

The function `isSingleton` naively determines whether
Expand Down Expand Up @@ -193,3 +195,5 @@ instance Primitive[Int32]
instance Primitive[Float64]
// ... and so on
```

</div>

0 comments on commit e1fe384

Please sign in to comment.