-- ---
-- jupyter:
--   jupytext:
--     text_representation:
--       extension: .hs
--       format_name: light
--       format_version: '1.5'
--       jupytext_version: 1.14.4
--   kernelspec:
--     display_name: Haskell
--     language: haskell
--     name: haskell
-- ---

-- ## Haskell-1-2
--
-- https://www.youtube.com/watch?v=ybba5tcOeEY

sqDist x y = x^2 + y^2

sqDist 3 4

:t sqDist
:i sqDist

print $ show $ sqDist 3 4

-- Implementation of "Hello World!" in Haskell
main = putStrLn "Hello World!"

StarcoderdataJupyterScriptsDedupFiltered