Viewing a single comment thread. View all comments

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.