Folkert de Vries

Results 75 comments of Folkert de Vries

a guess: you make a `FunctionValue` passmanager, but `add_function_inlining_pass` is pass that only works on modules, not on individual functions. It would be great to have more type safety here,...

I'm not sure I understand. Another `println` does not work because the main function needs to return `!`. Hence, we must have some diverging operation, either a loop or a...

It would be great to have html render support. Are you aware of [eeue56/elm-static-html-lib](https://github.com/eeue56/elm-static-html-lib)? It's a great package by Noah that renders elm apps (given a model) to static html...

The result of `elm-static-html-lib` is an html string (`Html.p [] [ text "some text"]` => `some text`) It's pretty flexible so if that stringification of html is something you want...

I stumbled across this and was interested in the numbers, so here is a quick benchmark ![rotating](https://user-images.githubusercontent.com/7949978/47266837-275d9a80-d53c-11e8-8f23-aecdd61e3c81.png) I'm not sure how to weigh this really, but it's interesting to know....

my guess is that `memmove` needs to be added here ``` fn collect_roc_definitions

when running tests with `--release`, our LLVM backend enables more llvm optimizations (because they are slower, we don't want to use full optimization during development). CI always runs with `--release`

yes ``` > cargo run -- --optimize examples/parser/parse-movies-csv.roc Finished dev [unoptimized + debuginfo] target(s) in 0.23s Running `target/debug/roc --optimize examples/parser/parse-movies-csv.roc` 🔨 Rebuilding platform... fish: “cargo run -- --optimize example…” terminated...

this is what lldb says (it's not much) ``` > lldb parse-movies-csv (lldb) target create "parse-movies-csv" Current executable set to '/home/folkertdev/roc/roc/examples/parser/parse-movies-csv' (x86_64). (lldb) run Process 336055 launched: '/home/folkertdev/roc/roc/examples/parser/parse-movies-csv' (x86_64) Process...

this also still fails for me on linux. I am on commit `30dbad88ae81d3009cc2a6f2c885f49fe3bf3326`, and ``` > cargo run -- --optimize examples/parser/parse-movies-csv.roc Finished dev [unoptimized + debuginfo] target(s) in 0.21s Running...