Logo

Programming-Idioms

History of Idiom 50 > diff from v50 to v51

Edit summary for version 51 by jcarr:
New Haskell implementation by user [jcarr]

Version 50

2019-09-26, 22:12:58

Version 51

2019-09-27, 00:50:43

Idiom #50 Make an infinite loop

Write a loop which has no end clause.

Idiom #50 Make an infinite loop

Write a loop which has no end clause.

Code
let x = x in x
Comments bubble
x will be defined as itself, and recurse infinitely when evaluated