Y
Hacker News
new
|
ask
|
show
|
jobs
by
tome
2217 days ago
Yes indeed in Haskell. You have enable RecursiveDo for that particular example to work. I'm not sure why ferzul chose a recursive monadic computation when
let { x = 0:y; y = 0:x } in x
seems to demonstrate the same thing.