Y
Hacker News
new
|
ask
|
show
|
jobs
by
dependenttypes
2216 days ago
> in a lazy language, you can certainly say:
Not in haskell. Which language do you specifically have in mind?
1 comments
tome
2216 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.
link