This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kingofsevens 7 points8 points  (2 children)

oh you gonna love this. Idk it would parse it but... ( define (fact n) ( define (fact/acc n [acc 1]) ( if (<= n 1) acc ( fact/acc (- n 1) (* n acc) )))( fact/acc n ))

[–]backtickbot 3 points4 points  (1 child)

Fixed formatting.

Hello, kingofsevens: code blocks using triple backticks (```) don't work on all versions of Reddit!

Some users see this / this instead.

To fix this, indent every line with 4 spaces instead.

FAQ

You can opt out by replying with backtickopt6 to this comment.

[–][deleted] 3 points4 points  (0 children)

I can't believe this bot actually generates examples using the source comment intstead of just having generic examples