Is Haskell truly pure (is any language that deals with input and output outside the system)?

后端 未结 8 966
名媛妹妹
名媛妹妹 2020-11-29 22:38

After touching on Monads in respect to functional programming, does the feature actually make a language pure, or is it just another \"get out of jail free card\" for reason

8条回答
  •  醉梦人生
    2020-11-29 22:46

    For an expanded version of sdcwc's sort of construction of IO, one can look at the IOSpec package on Hackage: http://hackage.haskell.org/package/IOSpec

提交回复
热议问题