forked from cadey/xesite
gonads better
Signed-off-by: Xe Iaso <me@christine.website>
This commit is contained in:
parent
67de839da8
commit
9566b790bc
|
@ -397,10 +397,6 @@ func NewThunk[T any](doer func() T) *Thunk[T] {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
- [ ] Fibonacci example
|
|
||||||
- [ ] Why is this slow? I have no idea
|
|
||||||
- [ ] Numa\ this is the power of gonads!
|
|
||||||
|
|
||||||
Now, for an overcomplicated example you can use this to implement the
|
Now, for an overcomplicated example you can use this to implement the
|
||||||
Fibonacci function. We can start out by writing a naiive Fibonacci
|
Fibonacci function. We can start out by writing a naiive Fibonacci
|
||||||
function like this:
|
function like this:
|
||||||
|
|
Loading…
Reference in New Issue