News for hackers. Stuff that matters.
Re:Why functional programming matters (1990) [pdf] by tel on Thursday May 07, 2015 @05:54PM (#9508590)
Oh, thanks! Good catch. Here's `while`

    while :: Monad m => m Bool -> m a -> m ()
    while conde bodye = do
      cond <- conde
      if cond then bodye >> while conde bodye else return ()

There are no comments on this comment yet.