Translations:FP Laboratory 1/7/en
Jump to navigation
Jump to search
First program in Haskell
In your favorite development environment (VS Code by default):
- Crate a file
simple.hs. - Create a function
pythagoras a bthat computescbased on . Necessary functions can be found: Hoogle - Open
ghciand run the implemented function with3 4. File can be loaded using command:l(:load) and reloaded with:r(:reload).