UCLA-CS-131 / fall-24-website

Course website for UCLA CS 131 with Professory Carey Nachenberg for the fall 2024 quarter
MIT License
1 stars 3 forks source link

Param issue in lec 3 calling functions challenge #5

Open nleobandung opened 3 hours ago

nleobandung commented 3 hours ago

In Lecture 3 Notes Functional Programming 1, I believe the Calling Functions Challenge code block is incorrect with function f's type declaration.

f :: Double -> Double
f x y = x * y

g :: Double -> Double
g a = __________________

where it should be

f :: Double -> Double -> Double
nleobandung commented 2 hours ago

made a PR for this: https://github.com/UCLA-CS-131/fall-24-website/pull/6