Season 1 아카이브/프로그래밍
                
              하스켈 모듈 언로딩 How to go back to prelude> in ghci
                문장전달자
                 2018. 3. 27. 17:27
              
              
                    
        728x90
    
    
  ghci 에서 특정 모듈을 로딩한 후 다시 해제할 때는 다음과 같이 :m 명령어를 사용하면, 로딩되었던 임의의 모든 모듈을 언로드시킬 수 있다.
1 2 3  | Prelude> :m Data.Char Prelude Data.Char> :m Prelude>  | cs | 
또는 다음과 같이 :m -<module> 구문으로도 언로드 할 수 있다.  
1 2 3  | Prelude> :m Numeric Prelude Numeric> :m -Numeric Prelude>  | cs | 
https://stackoverflow.com/questions/9305366/how-to-go-back-to-prelude-in-ghci
728x90