Effect-TS / examples

A repository of examples showing how to use Effect
82 stars 10 forks source link

add weather cli example #16

Closed fubhy closed 11 months ago

changeset-bot[bot] commented 11 months ago

⚠️ No Changeset found

Latest commit: 2041f2b256bed31ddbb81e3b9408db368c645a52

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

fubhy commented 11 months ago

I would personally have been inclined to put the wttr client in a dedicated Requirement (e.g. so it can be mocked in tests etc), but that's very optional!

We've had that before but decided that that was out of scope for the example (simplicity over full completess / correctness). We can't show all idiomatic patterns in one go without making it too complicated to parse for a newcomer.