diff --git a/docs/examples.html b/docs/examples.html index d94fa245..88302183 100644 --- a/docs/examples.html +++ b/docs/examples.html @@ -205,6 +205,19 @@

Sequences

+
+

Interactive

+
+
Kolibri Bundle
+
You can try the Kolibri + production + bundle on a dedicated + bundle page. + Open the page and use the console of your browser's developer tools as a REPL to play with the Kolibri! +
+
+
+

Logging

@@ -252,6 +265,5 @@

Styling

- diff --git a/docs/production/TryProduction.html b/docs/production/TryProduction.html index 03c8bedb..58f36ac8 100644 --- a/docs/production/TryProduction.html +++ b/docs/production/TryProduction.html @@ -18,6 +18,7 @@

Try Kolibri Production Bundle

fib = memoize(fib); out.textContent = ` + The 44th Fibonacci number is: ${ asCH( fib(44) ) } built with Kolibri ${versionInfo} @@ -25,6 +26,33 @@

Try Kolibri Production Bundle

+
+        You can use your browser's console to try Kolibri for yourself.
+        Here are some ideas of what you can do:
+
+        let fibo = n => n < 2 ? 1 : fibo(n - 1) + fibo(n - 2);
+        fibo = memoize(fibo);
+        fibo(44);
+
+        10..times ( console.log );
+        10..times ( n => n**3 ).sum();
+
+        [1,2,3].eq([1,2,3]);
+
+        Walk(3)  ['==']  ( Seq(0,1,2,3) );
+
+        let pyth = from(                   Walk(2, ALL))
+              .and(     z           => Walk(2, z) )
+              .and( ( [ z, y ]    ) => Walk(2, y) )
+              .where  ( ([[ z, y ], x]) => x*x + y*y === z*z )
+              .select ( ([[ z, y ], x]) => ` ${x} ${y} ${z}` )
+              .result();
+        pyth.show();
+        pyth.drop(100).take(5).show();
+
+
+    
+