Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 2 commits into from

Conversation

eush77
Copy link
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
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