How to check multiline case?
Haskell Community
How to check multiline case?
Hi everyone! I’m new to Haskell and I started from Haskell MOOC. Now I’m in lecture 3 exercises and wondering how to solve that one: -- Ex 7: implement a functional while loop. While should be a function -- that takes a checking function, an updating function, and an -- initial value. While should repeatedly apply the updating function -- to the initial value as long as the value passes the checking -- function. Finally, the value that doesn't pass the check is -- returned. -- -- Example...
0 comments
No comments yet.