prime pattern 1 | prime pattern 2 | prime pattern 3 | prime pattern 4 | prime pattern 5
http://code.fed.wiki/assets/pages/lambda-talk-in-a-frame/repl.html HEIGHT 1950
**code**
{center Copied from prime_pattern 1|http://lambdaway.free.fr/lambdawalks/?view=prime_pattern} {uncover http://lambdaway.free.fr/lambdawalks/data/gandhi_adami.jpg 100 500 Gandhi is fan of lambdatalk!} °°° {center Rewritten from Thompson Morrison s Prime Pattern|https://dev2.wiki.innovateoregon.org/view/prime-pattern page.} °°° _h1 Prime Pattern _p A {b Prime Pattern} is a pattern that has been simplified down to three parts, what could be called a Trivium|https://dev2.wiki.innovateoregon.org/view/prime-pattern/view/trivium. _p In software development, the process of simplification is call Refactoring|https://en.wikipedia.org/wiki/Code_refactoring . When you refactor code, you having the code do the same tasks, but simplifying how it does them. In this process, the code becomes more "elegant". _p There is a similar process possible with complex ideas. If the ideas remain their complex form, it is very difficult to share them with others. As a result, their impact, within a larger community, is limited. But if those concepts can be distilled down to a simple form - a pattern - they can be more easily shared. _p A great example is the Theory of Relativity|https://en.wikipedia.org/wiki/Theory_of_relativity an immensely complex concept. By Einstein's "refactoring" this concept to {code E=mc{sup 2}} his concept became well known to an audience far beyond his scientific community. _p A Trivium|https://dev2.wiki.innovateoregon.org/view/prime-pattern/view/trivium can be called the simplest and most elegant pattern, what we could call a prime pattern. A prime pattern, as a "three-legged stool", is dynamically balanced and becomes a powerful container of meaning. _p Core Values|https://dev2.wiki.innovateoregon.org/view/prime-pattern/view/core-values can be Prime Patterns _p This is a first attempt to "mimic" your navigation widget. {hr} {def flow_chart {lambda {:w} div {@ style=" position:relative; left:50%; margin-left:-{/ {+ :w 60} 2}px; width::wpx; padding:10px 30px; background:#fff; box-shadow:0 0 8px #000; border-radius:30px;" }}} {hr} {def node {lambda {:url :name} {a {@ href="https://dev2.wiki.innovateoregon.org/view/prime-pattern/view/:url" style="background:#444; color:#fff; border-radius:20px; padding:0 8px;" } :name }}} {hr} {{flow_chart 300} {node prime-pattern Prime Pattern} |-> {node trivium Trivium} |-> {node core-values Core Values} {node core-values Core Values} |-> {node prime-pattern Prime Pattern} |-> {node trivium Trivium} |-> Audacious Aspiration {node trivium Trivium} |-> Design Thinking |-> Process Thinking |-> Systems Thinking } _p It doesn't work. Some work to do ... {hr} _h2 introduction _p Hi Thompson, welcome to '{lambda talk}. _p This page is your Prime Pattern|https://dev2.wiki.innovateoregon.org/view/prime-pattern page rewritten in '{lambda talk} syntax. _p In this page the fed_style is intentionally not used in order to keep things simple, just a title, a few paragraphs, some links and a picture. Click on the pages's grey title "prime_pattern" to open the page editor, analyze the code and edit it. _p The syntax is systematic: '{function ... any expression ...}. For instance: _ul writing '{b words} boldifies words _ul writing '{h1 words} makes words a title of level one _ul writing '{p words} makes words a paragraph _ul writing '{a {@ href="URL"}NAME} creates a link to "URL" displayed as "NAME" _ul writing '{img {@ src="URL" width="100%"}} displays a picture at URL _p HTML tags - b, h1, p, a, img, ... - are well documented on the web, learning lambdatalk is learning HTML/CSS in a comfortable armchair. And if lambdatalk doesn't fit your needs you will have learnt some useful parts of HTML/CSS, you won't have loose your time. _p As it can be seen in this page, in order to make things easier, curly braces can be forgotten for a small set of tags - titles, paragraphs, pictures and links - and replaced by easier alternate forms. More later. _p And if Ward Cunningham instals '{lambda talk} in your fed-wiki you'll be able to test it more comfortably. {hr} _p Meanwhile please read more in the following pages: _ul {b prime pattern 2} : when a simple text editor becomes a programming language _ul {b prime_pattern 3}: the power of lambdas _ul {b prime_pattern 4}: a few steps on html and colors _ul {b prime_pattern 5}: loops with iteration and recursion _p {i Alain Marty 2019/11/11 update 2021/11/26}