2017년 8월 24일 목요일

[Haskell] Install

-- haskell and cobal install --

My Enviroment is  windows10 64bit and i just install full version haskell installer from https://www.haskell.org/platform/

and i down load cobal 2.0.0.0 from https://hackage.haskell.org/package/cabal-install

and put this cobal.exe in  

C:\Program Files\Haskell Platform\8.0.2-a\bin
C:\Program Files\Haskell Platform\8.0.2-a\lib\extralibs\bin

both.

and add enviroment path
C:\Program Files\Haskell Platform\8.0.2-a\bin
C:\Program Files\Haskell Platform\8.0.2-a\lib\extralibs\bin

After all this , when i opened cmd and typed "calbal --version"

-cabal update
cabal install ghc-mod stylish-haskell
or
cabal update 
cabal install alex
cabal install happy
cabal install ghc-mod hlint stylish-haskell


-- install atom
  • language-haskell : 문법 강조, 자동 들여쓰기, Snippets
  • haskell-ghc-mod : 형(type) 검사
  • ide-haskell : 에러/경고/Lints, type/info 보여주기, Prettify
  • autocomplete-haskell : 자동완성
apm install language-haskell haskell-ghc-mod ide-haskell-cabal ide-haskell autocomplete-haskell




댓글 없음:

댓글 쓰기