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
Moonside OP wrote
how'd you make those source code blocks? I wanna join the party too...
no_defun_allowed wrote
three backticks, language, code, three tildes.
like this but with backticks:
'''haskell
I = TheSon && TheHeir
'''
Moonside OP wrote (edited )
It's beautiful ;_;
magic :: String -> String
magic x = turingMachine x
no_defun_allowed wrote (edited )
Not as noice as this.
(defun magic (x)
(declare (string x))
(the string (turing-machine x)))
Moonside OP wrote
Can you eta reduce
magic :: String -> String
magic = turingMachine
no_defun_allowed wrote (edited )
throws smoke bomb and switches Lisp dialect
(define magic turing-machine)
Maybe.
Viewing a single comment thread. View all comments