stack resolver のバージョンを lts-16.25 にします #200
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ずいぶん古いバージョンを利用していたので、現状の最新 LTS にしちゃおうかなと思います。
主な変更箇所は
StringからTextに変わったことに関する修正MonadFailをとるようになったことに関する修正特に最初のやつが影響でかくて。
というのも、
TextLangという型を定義して"あいueお"を[Japanese "あい", English "ue", Japanese "お"]に変換して何かをしている。この時の文字列が
Stringなので困った。Textに対してリスト処理っぽいことをする方法がぴんとこなかったので、とりあえずTextからStringに変換して茶を濁しています。何か他に良い方法が教えてください。