documentation improvements; higher level Mongodb wrapper
This commit is contained in:
parent
e9260e6c4d
commit
c53ad1b39f
15 changed files with 1109 additions and 686 deletions
|
|
@ -18,13 +18,11 @@ Welcome to Nimrod
|
|||
*Nimrod looks like this:*
|
||||
|
||||
.. code-block:: nimrod
|
||||
# Filter key=value pairs
|
||||
import re
|
||||
|
||||
for x in lines("myfile.txt"):
|
||||
if x =~ re"(\w+)=(.*)":
|
||||
echo "Key: ", matches[0],
|
||||
" Value: ", matches[1]
|
||||
import strutils
|
||||
|
||||
echo "List of ints (separate by whitespace): "
|
||||
echo stdin.readLine.split.each(parseInt).max,
|
||||
" is the maximum"
|
||||
|
||||
**Nimrod** is a new statically typed, imperative
|
||||
programming language, that supports procedural, object oriented, functional
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue