-
Notifications
You must be signed in to change notification settings - Fork 0
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
Pier/feat-load-kb-csv #24
Conversation
(assumed to be correct)
and not a File
Awesome! Great news!! I'll check this out in a moment, but the green check on CI/CD is very motivating :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cad0p hey, this is great! Very well done, and happy to see that it works 👍 I'd be eager to approve, but seeing that this depends on the unmerged PRs, I'd suggest we either hold it off and merge after #22 or #23, or remove all the CLI-related stuff and keep the implementation only to the changes of LibCore. What do you think? Since you won't have much time tomorrow, up to you if you'd like to do it now, or wait till tomorrow.
replaceMode [email protected]{} = do | ||
case input c of | ||
Nothing -> error "No input FilePath was found" | ||
-- TODO from Pier to Wilmer: this error above is never reached |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even not if you supply no input file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes try, because it gets replaced with the default one
|
||
-- | ShortHndr default KB | ||
defaultKB :: String | ||
defaultKB = "data/shorthndr-kb.csv" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good change
|
@wzwietering sure, I think that's a good idea to move forward with 👍 |
@wzwietering, I approved #22 👍 |
What
Loading KB from csv.
Issues
Right now it doesn't typecheck
Why
To get the KB to then return the expanded string using it.