-
Typeclass objects offer dynamic (i.e. run-time and open modularity1) polymorphism by binding the typeclass bound to the static (compile-time) type of the reference and tagging the data type instances …
-
when trying to compile using linalg
`Error at lib/github.com/diku-dk/linalg/linalg.fut:221:13-22:
Unknown name "flatten_to"
If you find this error message confusing, uninformative, or wrong, plea…
-
The generated code uses `_import "strlen" public : ...` and `_import "strcpy" public : ...` to manipulate strings returned by `futhark_context_get_error`.
However, the MLton/MPL FFI isn't happy wit…
-
I have the following program [here](https://github.com/Alexnortung/futhark-nn/blob/ef87201d5eb29cee1945c9c87322d2bc261f3c3f/layers/convolutional.fut#L255-L259). When running the following command I ge…
-
## How to replicate the error
I have a Futhark source file `err.fut` containing the following code.
```fut
module type data = {
val size : i64
val const : u8 -> [size]u8
}
module make(G: …
-
While converting this grammar https://github.com/diku-dk/futhark/blob/master/src/Language/Futhark/Parser/Parser.y to be used in https://mingodad.github.io/parsertl-playground/playground/ I found that …
-
Title says it all. The code:
```
import "lib/github.com/diku-dk/segmented/segmented"
def givens (a:f32) (b:f32) =
let sign x = let s = f32.sgn x in if s == 0 then 1 else s
let abs = f…
-
The code
```
def segm_scan [n] 't (op: t -> t -> t) (ne: t)
(flags: [n]bool)
(as: [n]t) : [n]t
= zip flags as
|> scan (\(x_flag, x) (y_flag, y) -> (x_flag || y_flag, if y_flag…
-
Name: Directorate and supervision
Description:
Sites:
arbeidstilsynet.no
bufdir.no
datatilsynet.no
dfo.no
dibk.no
digdir.no
diku.no
dirmin.no
dirnat.no
dsa.no
dsb.no
ehelse.no
finanst…
-
## How to replicate the error.
The following piece of code throws an error when using the interpreter.
```fut
-- | file: error.fut
module type thing = {
val n : i64
val f : i64 -> [n / 2]i64…