I love all typed functional languages:
I think in Haskell, I script in F#;
I code in OCaml, and'll always love SML
|
17h
|
|
comment |
Should do-notation be avoided in Haskell? I think you mean foo >>= \x ->.
|
|
18h
|
|
revised |
Several managed closures with shared state? updated example to better fit the question |
|
18h
|
|
comment |
Several managed closures with shared state? Updated example, to solve your specific issue. |
|
20h
|
|
answered | Several managed closures with shared state? |
|
1d
|
|
comment |
Retrieving a pointer to float from Rust FFI Try println(fmt!("%?", *x)). I'm not sure, and can't check without getting openblas - and I'm stuck on Windows.
|
|
1d
|
|
comment |
Retrieving a pointer to float from Rust FFI Can you please post what you expected to happen, and what happened? |
|
May
20 |
|
comment |
ExecJS::RuntimeError on windows 7 trying to follow rubytutorial You sir, are a hero. |
|
May
20 |
|
comment |
Rust: lifetimes of vector elements @ThomasLeonard rodrigo's code does just that. The result has the same lifetime as the vector items, which must be at least that of the vector. |
|
May
20 |
|
comment |
Rust: lifetimes of vector elements @ThomasLeonard In your case, the vector contains pointers to strings. If these are not unique pointers, then the strings can easily outlive the vector. |
|
May
20 |
|
answered | Rust: lifetimes of vector elements |
|
May
18 |
|
awarded | Cleanup |
|
May
18 |
|
revised |
About Erlang function, especially the function's identifier deleted 16 characters in body |
|
May
17 |
|
comment |
Multidimensional vectors in rust, segfaulting? Did you try a small MD-vector, to see if the problem is that it's too large? |
|
May
15 |
|
comment |
F# much slower than Ocaml for handling complex keys like int*int*int in data structures Or even while (1,1,1) = (1,1,1) do () :)
|
|
May
14 |
|
comment |
When executed will this be a tail call? You can either read about tail recursion to know, or look at the compiled IL code to check if there's a .tail command. I'm guessing "Yes".
|
|
May
14 |
|
comment |
How to write an infix function @Iter This is an extension method :) |
|
May
12 |
|
comment |
Seperate Function Decleration and Implementation in F# Mutual recursion? Google it. Hint: let rec ... and ...
|
|
May
11 |
|
revised |
Haskell simple type issue added 1 characters in body |
|
May
10 |
|
comment |
Attributes and let statements in type members Or, let [<Attribute>] name = ...
|
|
May
8 |
|
comment |
How to compare contents an owned vector to a static vector in Rust? You could compare lengths, and then loop over both. Write your own assertion macro. |