Viewing a single comment thread. View all comments

1

no_defun_allowed wrote

Header 1

Header 2

Header 3

Header 4

Header 5
Header 6

Italic thing Bold thing why not both??

Berlin Wall simulator

one side


other side

Code

;; Make a building on fire.
(defun love () (make-building :on-fire t))
def love(straight=False):
    "Make a building on fire."
    if straight:
        return building(on_fire="very")
    return building(on_fire=True)

struct building* love(void) {
  /* Make a building on fire. */
  struct building* t = malloc((sizeof) struct building);
  t.fire = 1;
  return *t;
}

some of this is inline code

link proof of OC

2

Moonside wrote

how'd you make those source code blocks? I wanna join the party too...

2

no_defun_allowed wrote

three backticks, language, code, three tildes.

like this but with backticks:

'''haskell
I = TheSon && TheHeir
'''
2

Moonside wrote (edited )

It's beautiful ;_;

magic :: String -> String
magic x = turingMachine x
1

no_defun_allowed wrote (edited )

Not as noice as this.

(defun magic (x)
      (declare (string x))
      (the string (turing-machine x)))
2

Moonside wrote

Can you eta reduce

magic :: String -> String
magic = turingMachine
1

no_defun_allowed wrote (edited )

throws smoke bomb and switches Lisp dialect

(define magic turing-machine)

Maybe.