Skip to content

ch09: fix signature and usage of logFilename in exercise_b#503

Closed
eush77 wants to merge 2 commits intoMostlyAdequate:masterfrom
eush77:ch09-logfilename
Closed

ch09: fix signature and usage of logFilename in exercise_b#503
eush77 wants to merge 2 commits intoMostlyAdequate:masterfrom
eush77:ch09-logfilename

Conversation

@eush77
Copy link
Copy Markdown
Contributor

@eush77 eush77 commented Feb 18, 2019

This fixes type signature of function logFilename constructed in exercise_b, and changes its usage to match the type of the () parameter (see #500 (comment)).

This fixes type signature of function `logFilename` constructed in
exercise_b, and changes its usage to match the type of the `()`
parameter.
@KtorZ
Copy link
Copy Markdown
Member

KtorZ commented May 24, 2019

Hey, good catch. I went for a slightly different approach and fixed the definition of getFile instead to be IO (). I find it more a bit more intuitive than having these () -> IO ()

see also: 5a464d1

@KtorZ KtorZ closed this May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants