update README
This commit is contained in:
parent
92463a26c7
commit
732802b414
|
@ -8,18 +8,20 @@ It's not meant for real-world use but for educational purposes on writing an int
|
||||||
* Pattern matching: `f([]) -> "nothing". f([a]) -> one thing".`
|
* Pattern matching: `f([]) -> "nothing". f([a]) -> one thing".`
|
||||||
* Imperative I/O
|
* Imperative I/O
|
||||||
* Higher-order functions
|
* Higher-order functions
|
||||||
* Partial evaluation on curried functions
|
* Lexical scope
|
||||||
|
|
||||||
|
|
||||||
**Hello World!**
|
**Hello World!**
|
||||||
|
|
||||||
`examples/helloworld.lamb`:
|
From `examples/helloworld.lamb`:
|
||||||
|
|
||||||
hello() -> "hello, " + hello("world").
|
hello() -> "hello, " + hello("world").
|
||||||
hello(object) -> object + "!".
|
hello(object) -> object + "!".
|
||||||
|
|
||||||
putstrln(hello()).
|
putstrln(hello()).
|
||||||
|
|
||||||
|
See other examples in the `examples` directory.
|
||||||
|
|
||||||
**License**
|
**License**
|
||||||
|
|
||||||
Licensed under the terms of the zlib license. See `LICENSE` for details.
|
Licensed under the terms of the zlib license. See `LICENSE` for details.
|
Loading…
Reference in New Issue