@Jakman The language is 100% useless without the impure keyword, although if you wanted a CPU warming program, of course, Facilis is just for you! Even Haskell has some impurity.
Now seriously, there are other problems, the if statement is useless, as there is no way to use it without creating impure code, unless it's followed by an else, in which case it's better, but the only genuine use I could imagine would be an ifelse in which both statements return a value, besides that there's little to no use.
void only has use in impure code, a void function is automatically impure. There's plenty of other things I can't even begin to think of at the moment. We almost had mutable variables too!
Facilis - A Low Level Functional Language
Facilis is a strongly typed functional language that aims to be low level. Facilis uses a hand-written recursive descent parser made with love.
Factorial Example
Demo: https://repl.it/@Facilislang/FacilisDemo#README.md
^ Has a user/password login program loaded by default. Read the README!
Source: https://repl.it/@Facilislang/Facilis
^ 2072 lines of C++!
@CSharpIsGud @Subarashi @xxpertHacker
@Jakman The language is 100% useless without the
impure
keyword, although if you wanted a CPU warming program, of course, Facilis is just for you! Even Haskell has some impurity.Now seriously, there are other problems, the
if
statement is useless, as there is no way to use it without creating impure code, unless it's followed by anelse
, in which case it's better, but the only genuine use I could imagine would be anif
else
in which both statements return a value, besides that there's little to no use.void
only has use in impure code, avoid
function is automatically impure. There's plenty of other things I can't even begin to think of at the moment. We almost had mutable variables too!