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

Pier/feat-load-kb-csv #24

Merged
merged 17 commits into from
Apr 4, 2022
Merged

Pier/feat-load-kb-csv #24

merged 17 commits into from
Apr 4, 2022

Conversation

cad0p
Copy link
Owner

@cad0p cad0p commented Apr 4, 2022

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.

@cad0p cad0p changed the title WIP: Pier/feat-load-kb-csv Pier/feat-load-kb-csv Apr 4, 2022
@cad0p cad0p self-assigned this Apr 4, 2022
@dee-me-tree-or-love
Copy link
Collaborator

Awesome! Great news!! I'll check this out in a moment, but the green check on CI/CD is very motivating :)

Copy link
Collaborator

@dee-me-tree-or-love dee-me-tree-or-love left a 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
Copy link
Collaborator

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?

Copy link
Owner Author

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"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good change

@wzwietering
Copy link
Collaborator

@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.

Shall we merge #22, because this is based on #22?

@dee-me-tree-or-love
Copy link
Collaborator

@wzwietering sure, I think that's a good idea to move forward with 👍

@dee-me-tree-or-love
Copy link
Collaborator

dee-me-tree-or-love commented Apr 4, 2022

@wzwietering, I approved #22 👍

@cad0p cad0p enabled auto-merge (squash) April 4, 2022 21:47
@cad0p
Copy link
Owner Author

cad0p commented Apr 4, 2022

image

and here we go again..

@cad0p cad0p merged commit 5072bc7 into main Apr 4, 2022
@cad0p cad0p deleted the pier/feat-load-kb-csv branch April 4, 2022 21:55
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.

3 participants