Amo/sample-initial.amo

6 lines
114 B
Plaintext
Raw Normal View History

2022-04-24 01:52:30 +00:00
main: Int
2022-04-25 01:18:52 +00:00
main = 1 + distance_squared 4 3
2022-04-06 13:23:46 +00:00
2022-04-24 01:52:30 +00:00
distance_squared: Int, Int -> Int
distance_squared a b = a * a + b * b