How to Pass a Function w/ an Argument to Another Function in Haskell?

Published: 4/10/2017
How to Pass a Function w/ an Argument to Another Function in Haskell?
Source: STACKOVERFLOW.COM

I am making a simple Haskell todo list and I want to call a function "prompt" recursively and show different menu options based on user input. The problem is that upon initial call, prompt should expect to receive a function as one of the arguments that does NOT expect any arguments itself. Any following calls of "prompt" may need to call a function that DOES expect an argument passed to the f

Read more
Related news
Comment