Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[doc] book: 3 small updates

  • Loading branch information...
commit 3a3f3c329bae4f01ae0bd8a5bdc4a270e7da6628 1 parent 5496ee5
Mathieu Baudet authored
View
6 doc/book/about.adoc
@@ -9,8 +9,8 @@ developers. And it works in the cloud too!
Throughout the pages of this book, we will introduce you to all the neat
features of Opa, and as you will see, there are many. To quote but a few, Opa is
concise, simple and readable, it is also extremely powerful, concurrent,
-dynamically distributed, and extremely secure, much more so than just about any
-other programming language. Opa is designed to make web development fun, secure
+dynamically distributed, and secure, much more so than just about any
+other web programming language. Opa is designed to make web development fun, secure
and _right_.
What problem does Opa solve?
@@ -178,7 +178,7 @@ opa-cloud hello_web.exe --host localhost --host my@my_server1 --host my@my_serve
Your application is launched, load-balanced, and servers share whichever information
is necessary.
-Welcome to Opa. It really is that simple.
+//Welcome to Opa. It really is that simple.
Summary
~~~~~~~
View
4 doc/book/main.adoc
@@ -2,7 +2,7 @@ Simple, Secure, Scalable Web Development with Opa
=================================================
The Opa Team
:author:The Opa Team:
-:editor:David Rajchenbach-Teller <David@opalang.org>:
+:editor:David Rajchenbach-Teller <contact@opalang.org>:
:toclevels:4:
:numbered:
@@ -11,7 +11,7 @@ The Opa Team
//
// About this book:
-// //Editor: David Rajchenbach-Teller <David@opalang.org>
+// //Editor: David Rajchenbach-Teller <contact@opalang.org>
// //Authors: ?
//
View
4 doc/book/the_web_language/the_web_language.adoc
@@ -307,8 +307,8 @@ into a less generic structure.
Opa features a special pattern matching like constructs that is meant for this:
[source,opa]
--------------------------------------
-x = xml_parser
- | <x>parser x=Rule.integer</><y>parser y=Rule.integer</> -> ~{x y}
+my_parser = xml_parser
+ | <x>parser valx=Rule.integer</><y>parser valy=Rule.integer</> -> {x=valx y=valy}
--------------------------------------
It defines a parser that transforms xml such as
Please sign in to comment.
Something went wrong with that request. Please try again.