Skip to main content

Which Language? · #51 · 2026-05-25

Which language is this?

Difficulty 2/3

How to play

Read the code snippet and pick which of the four listed languages it’s written in. The snippet is deliberately unhighlighted — the syntax is the only clue. Press 1–4 or click to answer.

factorial :: Int -> Int
factorial 0 = 1
factorial n = n * factorial (n - 1)

Loading your progress...

Press 1 through 4, or tap a numbered choice, to answer. Back to hub