E language with samples

This commit is contained in:
Baptiste Fontaine
2014-02-03 15:27:40 +01:00
parent dd32b8f441
commit 0eea2bd7bb
8 changed files with 371 additions and 3 deletions

9
samples/E/Promises.E Normal file
View File

@@ -0,0 +1,9 @@
# E snippet from
# http://wiki.erights.org/wiki/Walnut/Distributed_Computing/Promises
when (tempVow) -> {
#...use tempVow
} catch prob {
#.... report problem
} finally {
#....log event
}