A functional query language.
$ git clone git://github.com/hydromatic/morel-rust.git
$ cd morel-rust
$ cargo build; ./target/main$ cargo run
morel-rust version 0.2.0 (rust version 1.90.0)
- "Hello, world!";
> val it = "Hello, world!" : stringType control+D to exit the shell.
For quick testing, use the -c flag.
$ cargo run -- -c "1 + 2"
val it = 3 : int
$ cargo run -- -c "from i in [1,2,3] where i > 1"
val it = [2,3] : int list
$ cargo run -- -c 'let fun double x = x * 2 in map double [2,3,4] end'
val it = [4,6,8] : int list- Morel Rust language reference
- Morel Java language reference
- Query reference
- Change log
- Reading test scripts can be instructive; try, for example, builtIn.smli
- License: Apache License, Version 2.0
- Author: Julian Hyde (@julianhyde)
- Blog: http://blog.hydromatic.net
- Source code: https://github.com/hydromatic/morel-rust
- Issues: https://github.com/hydromatic/morel-rust/issues
- Change log and release notes
