::SHE+ILA:: Markov Conditionals

207
0
  • Squishy Plushie's avatar Artist
    Squishy Pl...
  • DDG Model
    Flux Klein
  • Access
    Public
  • Created
    3d ago
  • Try

Prompt

A beautiful purple-haired woman wearing a long purple velvet ankle-length dress with flouncy sleeves and purple suede high heels. She is stroking a cat in a cage.

More about ::SHE+ILA:: Markov Conditionals

We've already seen the use of colon (":") in IF statements :
Foo <:: { day==saturday : ttyout ("Happy saturday")};
and in loops :
Foo <:: {(i=5); {* i-- : ttyout ("The value of ", i, "squared is ", i*i, CRLF); *} }
Now consider the use of fractional booleans :
Foo <:: {0.5 : ttyout ("You won")};
or :
Array <:: (0.5 : Red, 0.25 : Green, 0.25 : Blue);
Foo <:: ttyout ("The colour is ", Array[1]);
The value of the array is red 50% of the time, green 25%, and blue 25%. This is a conditional array, having one element (it actually has three in the datastore, but only one is "unhidden" at any one sampling, according to the probability weightings). Finally, a homage to Schrodinger :)
Foo <:: ttyout ("The cat is ", (0.5 : "alive", 0.5 : "dead"));

Comments


Loading Dream Comments...

Discover more dreams from this artist