Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

LISP is shit

Name: Anonymous 2012-05-26 19:29


;;;lispisshit.lisp
(defun fucker ()
    (fucker-1 t))

(defun fucker-1 (is-a-fucker)
    (when is-a-fucker
        (princ "You're a fucker")))



...

CL-USER>(load "lispisshit.lisp")

;     (FUCKER-1 T)
;
; caught STYLE-WARNING:
;   undefined function: FUCKER-1
;
; compliation unit finished
;   Undefined function:
;     FUCKED-1
;   caught 1 STYLE-WARNING condition
T




Why doesn't SBCL know that fucker-1 is defined in that file ahead of time instead of being a complete dick to me and giving me a style warning?

Do i really need to reorder my functions just to please it?

Name: Anonymous 2012-05-26 19:43

Why doesn't SBCL know that fucker-1 is defined in that file ahead of time instead of being a complete dick to me and giving me a style warning?

because SBCL is shit.

Do i really need to reorder my functions just to please it?

yes

Name: bampu pantsu 2012-05-29 5:11

bampu pantsu

Don't change these.
Name: Email:
Entire Thread Thread List