JS
Size: a a a
JS
JS
home </> ".config/rates.yaml"
JS
getEnv "HOME"
можно System.Directory.getHomeDirectoryJS
catch decodeFileThrow
лучше взять decodeFileEither
JS
Н
httpJSONEither request
`catch` \e :: HttpException ->
die "No connection"
Main.hs:64:27: error: parse error on input ‘::’
|
64 | `catch` \e :: HttpException ->
| ^^
JS
Main.hs:64:27: error: parse error on input ‘::’
|
64 | `catch` \e :: HttpException ->
| ^^
JS
Main.hs:64:27: error: parse error on input ‘::’
|
64 | `catch` \e :: HttpException ->
| ^^
JS
Main.hs:64:27: error: parse error on input ‘::’
|
64 | `catch` \e :: HttpException ->
| ^^
[
Н
Illegal type signature: ‘HttpException’
Type signatures are only allowed in patterns with ScopedTypeVariables
Н
JS
Illegal type signature: ‘HttpException’
Type signatures are only allowed in patterns with ScopedTypeVariables
JS
JS
[
JS
Н
AP
ХГ