Viewing a single comment thread. View all comments

Moonside OP wrote

Reply to comment by no_defun_allowed in Test Thread by Moonside

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 OP wrote (edited )

It's beautiful ;_;

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

no_defun_allowed wrote (edited )

Not as noice as this.

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

Moonside OP wrote

Can you eta reduce

magic :: String -> String
magic = turingMachine
2

no_defun_allowed wrote (edited )

throws smoke bomb and switches Lisp dialect

(define magic turing-machine)

Maybe.

1