update README

This commit is contained in:
darkf 2013-10-23 04:08:45 -07:00
parent 92463a26c7
commit 732802b414
1 changed files with 4 additions and 2 deletions

View File

@ -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.