Skip to content

Commit 13725a0

Browse files
amerocuhdgarrood
authored andcommitted
fixed wrong type signature (#245)
1 parent 5e4e735 commit 13725a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

language/Types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ combineBar f o = f o.foo o.bar
194194
type Baz = Number -> Number -> Bar Number
195195
196196
-- This function will take two arguments and return a record with double the value
197-
mkDoubledFoo :: Baz
197+
mkDoubledFoo :: Number -> Number -> Baz
198198
mkDoubledFoo foo bar = { foo: 2.0*foo, bar: 2.0*bar }
199199
200200
-- Build on our previous functions to double the values inside any Foo

0 commit comments

Comments
 (0)