小编del*_*020的帖子

How to input an integer in haskell? (input in console)

How can I enter an integer in the console, store it in a variable and then pass it as a parameter of a function that I have created?

So far so that it works I had to do as follows:

In the last line you can see how I have been applying the function, what I want to do is to ask for the variables by console to be applied as integers to the function and then print the result. …

io haskell

6
推荐指数
1
解决办法
7492
查看次数

标签 统计

haskell ×1

io ×1