We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e4e735 commit 13725a0Copy full SHA for 13725a0
language/Types.md
@@ -194,7 +194,7 @@ combineBar f o = f o.foo o.bar
194
type Baz = Number -> Number -> Bar Number
195
196
-- This function will take two arguments and return a record with double the value
197
-mkDoubledFoo :: Baz
+mkDoubledFoo :: Number -> Number -> Baz
198
mkDoubledFoo foo bar = { foo: 2.0*foo, bar: 2.0*bar }
199
200
-- Build on our previous functions to double the values inside any Foo
0 commit comments