我正在尝试编写一些IO包装函数。我的当前代码(有效)是:getUserHome = do homeDirectory我尝试过<$>,但这似乎不是我想要的: • Couldn't match type ‘IO UserEntry’ with ‘UserEntry’
Expected type: UserID ->
给定:看看它的类型,MkFFI C_Types String String签名的含义是什么?*lecture2> :t x然后我尝试从REPL中评估x:main:Whenchecking argument value to function Prelude.Basics.the:
Type misma