You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/fpdart/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,24 +106,24 @@ dependencies:
106
106
107
107
## ✨ Examples
108
108
109
-
### [Pokeapi](./example/pokeapi_functional/)
109
+
### [Pokeapi](./examples/pokeapi_functional/)
110
110
Flutter app that lets you search and view your favorite Pokemon:
111
111
- API request
112
112
- Response validation
113
113
- JSON conversion
114
114
- State management ([riverpod](https://pub.dev/packages/riverpod))
115
115
116
-
### [Open Meteo API](./example/open_meteo_api/)
116
+
### [Open Meteo API](./examples/open_meteo_api/)
117
117
Re-implementation using `fpdart` and functional programming of the [Open Meteo API](https://github.com/felangel/bloc/tree/master/examples/flutter_weather/packages/open_meteo_api) from the [flutter_weather](https://bloclibrary.dev/#/flutterweathertutorial) app example in the [bloc](https://pub.dev/packages/bloc) package.
118
118
119
119
A 2 parts series explains step by step the Open Meteo API code:
120
120
- [Open Meteo API - Functional programming with fpdart (Part 1)](https://www.sandromaglione.com/techblog/real_example_fpdart_open_meteo_api_part_1)
121
121
- [Open Meteo API - Functional programming with fpdart (Part 2)](https://www.sandromaglione.com/techblog/real_example_fpdart_open_meteo_api_part_2)
122
122
123
-
### [Read/Write local file](./example/read_write_file/)
123
+
### [Read/Write local file](./examples/read_write_file/)
124
124
Example of how to read and write a local file using functional programming.
125
125
126
-
### [Manage imports](./example/managing_imports)
126
+
### [Manage imports](./examples/managing_imports)
127
127
Using `fpdart` with other libraries and noticing naming conflicts? Learn how to rename the classes that conflict with other SDK or third-party packages.
128
128
129
129
### [Option](./lib/src/option.dart)
@@ -253,10 +253,10 @@ These types compose together the 4 above ([`Option`](#option), [`Either`](#eithe
253
253
254
254
255
255
### [Reader](./lib/src/reader.dart)
256
-
Read values from a **context** without explicitly passing the dependency between multiple nested function calls. View the [example folder for an explained usecase example](./example/src/reader).
256
+
Read values from a **context** without explicitly passing the dependency between multiple nested function calls. View the [example folder for an explained usecase example](./examples/src/reader).
257
257
258
258
### [State](./lib/src/state.dart)
259
-
Used to **store**, **update**, and **extract** state in a functional way. View the [example folder for an explained usecase example](./example/src/state).
259
+
Used to **store**, **update**, and **extract** state in a functional way. View the [example folder for an explained usecase example](./examples/src/state).
260
260
261
261
### 🔗 Do notation
262
262
Version `v0.6.0` introduced the **Do notation** in `fpdart`. Using the Do notation makes chaining functions easier.
@@ -366,7 +366,7 @@ Differently from many other functional programming packages, `fpdart` aims to in
366
366
367
367
> **You do not need to have any previous experience with functional programming to start using `fpdart`.**
368
368
369
-
Fpdart also provides [real-world examples](https://github.com/SandroMaglione/fpdart/tree/main/example/src) of why a type is useful and how it can be used in your application. Check out [**my website**](https://www.sandromaglione.com/) for blog posts and articles.
369
+
Fpdart also provides [real-world examples](https://github.com/SandroMaglione/fpdart/tree/main/examples/) of why a type is useful and how it can be used in your application. Check out [**my website**](https://www.sandromaglione.com/) for blog posts and articles.
0 commit comments