This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install -v ghc --64bit |
Opcja 64 też jest ważna! Bez niej nie skompilujemy prawidłowo haskell-platform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install -v haskell-platform |
Teraz możemy uruchomić REPL Haskella (komendą ghci)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let greet who = "Hello " ++ who ++ "!" | |
greet "World" {- Hello World! -} |
Brak komentarzy:
Prześlij komentarz