Radosław Rowicki

Results 34 issues of Radosław Rowicki

There should be warning for doing this ``` stateful function f() = put(state+1) state stateful function g() = put(state*2) state put(10) f() + g() // what is the state now?...

enhancement

Tuple projections are awkward, even considering standard library which offers `fst`, `snd` etc. for pairs and triples. There should be a convenient generic way of accessing them: ``` let t...

enhancement
effort: low

This is an extension to #228, inspired by Scala. Function applications could be conveniently curried away, for example for convenience of higher order functions and to aid features proposed in...

enhancement
effort: medium

I would use Elm/F# notation: ``` f >>> g // (x) => g(f(x)) f

enhancement
effort: low

Currently `|>` works only on single argument functions, rendering it quite useless in many situations. Following Elixir's approach to it, we could make it only on the first (last?) parameter...

enhancement
effort: low

An .aec file is an interface file with compiled implementations: ``` namespace Ns = function f : int => int function f = babf23in2n43ngijwiefjiwjgi34ji ``` The typechecker trusts the type...

enhancement
effort: medium

Currently lambdas do not receive any names in the `symbols` field of the generated code. While this does not matter for normal development, it can be useful to identify them...

enhancement

This would be a syntactic sugar that would possibly make it nicer to modify state fields (if it is a record, which is mostly the case). ``` record r =...

enhancement
effort: medium

Added `loop` construction in fcode to optimize list comprehensions and sequencing operator (and get rid of implicit imports)

Get rid of C-style includes of pasting files and hoping it won't explode, and write a proper module management system that checks for cycles, provides separated namespaces and allows for...

enhancement
effort: high