1
module Hart
(module Hart
)
where
import Control.Monad.Trans.Reader (runReaderT, ReaderT, ask)
import Control.Monad.Trans (lift)
나는 현재 위에서 정의한 바와 같습니다. ask
의 기능 만으로 전송하려면 Hart
모듈 외에 Control.Monad.Trans.Reader
의 기능을 보내시겠습니까?가져온 모듈에서 함수를 내보내려면 어떻게해야합니까?
내가 아래 할 수있는 생각 -하지만 오류 발생 : 코멘트에 언급 @leftaroundabout으로
module Hart
(module Hart
, module Control.Monad.Trans.Reader (ask)
) where
음,'모듈 하트 '(모듈 하트 , 요청)을? – leftaroundabout
고맙습니다! –