-
The following code works with `-O0`, but fails at `-O1` and above:
```
import std/core/undiv
import std/num/int32
import std/num/random
// Taken from https://github.com/koka-community/std
fu…
-
I attempted to use Koka with SDL3 on an AMD64 Mac. Some platforms apparently don't use main as a program entry point, and SDL3 uses C macros to hide those platform differences. When building an execut…
-
The following program, when compiled with koka 3.1.1, produces an internal error
```
rec effect process
fun yield(): ()
fun fork(p: () -> ()): ()
```
```
> koka -O3 -v0 -o main main.kk
…
-
Blocked by #7699
We already have some effect handler examples (see `examples/effects`). The goal of this ticket is to port more examples.
Here are some places to look for interesting examples:
…
-
I am trying to write a finger tree in koka for https://github.com/SchrodingerZhu/koka-collections, following the template of https://github.com/liuxinyu95/AlgoXY/blob/algoxy/datastruct/elementary/sequ…
-
The following page entry exists: [std/core/int](https://koka-lang.github.io/koka/doc/std_core_int.html)
But it is not listed in the TOC: https://koka-lang.github.io/koka/doc/toc.html
-
# Renewal Blog | /var/log/koka
[https://koka831.github.io/archives/2021-04-25-nextjs-from-vuepress](https://koka831.github.io/archives/2021-04-25-nextjs-from-vuepress)
-
I see this error when I try to compile my code:
```
parse : .../bb.kk
check : bb
bb(1, 1): internal error: Core.Parc.getDataDefInfo: cannot find type: std/time/timestamp/timespan
CallStack (f…
-
Ran into this with our Koka language server
Here is Daan's comments in our workaround, which should provide a basic understanding of the issue:
```haskell
-- work around lsp bugs :-( (we should …
-
[Paper hosted on arXiv](https://arxiv.org/abs/1406.2061v1)
[DOI (10.4204/EPTCS.153.8)](https://doi.org/10.4204/EPTCS.153.8)
## Abstract
We propose a programming model where effects are treated in…
aatxe updated
6 years ago