runas admin and select "just extract files" in Haskell dir
2. make Haskell\hs.bat ->
Code:
@ECHO OFF
rem %~dp0 %CD%// current dir %~d0 // curr drive
SET Path=%Path%;%CD%;%~dp0bin;%~dp0lib;%~dp0lib\extralibs\bin;%~dp0mingw\bin;%~dp0code;C:\Users\%USERNAME%\AppData\Roaming\cabal\bin
CMD /k "cd %~dp0code"
3. start hs.bat:@ECHO OFF
rem %~dp0 %CD%// current dir %~d0 // curr drive
SET Path=%Path%;%CD%;%~dp0bin;%~dp0lib;%~dp0lib\extralibs\bin;%~dp0mingw\bin;%~dp0code;C:\Users\%USERNAME%\AppData\Roaming\cabal\bin
CMD /k "cd %~dp0code"
path // check paths
ghci // check interpreter
Prelude> :?
4. make Haskell\wghci.bat ->
Code:
@ECHO OFF
rem %~dp0 %CD%// current dir %~d0 // curr drive
SET Path=%Path%;%CD%;%~dp0bin;%~dp0lib;%~dp0lib\extralibs\bin;%~dp0mingw\bin;%~dp0code;C:\Users\%USERNAME%\AppData\Roaming\cabal\bin
start /b %~dp0winghci\winghci.exe
5. start wghci.bat:@ECHO OFF
rem %~dp0 %CD%// current dir %~d0 // curr drive
SET Path=%Path%;%CD%;%~dp0bin;%~dp0lib;%~dp0lib\extralibs\bin;%~dp0mingw\bin;%~dp0code;C:\Users\%USERNAME%\AppData\Roaming\cabal\bin
start /b %~dp0winghci\winghci.exe
:?
I to je to :)
p.s. postovacu kako se "instalira" wxHaskell ili neki drugi GUI ako ikad uspem da ga instaliram i nateram da kompajlira :(
I'm not in this world to live up to your expectations and you're not in this world to live up to mine.