Skip to content

Commit 6de3657

Browse files
committed
feat: add Effect type to fun
Using Effect in pick lately and it's working nicely there. It's a sort of collapsed version of AsyncStateEither. This version has all the basics but it could benefit from some additional typeclass instance definitions. I've also updated the scripts/exports.sh script to output the files in ideas as well, so I don't have to manually remember those.
1 parent 849c374 commit 6de3657

File tree

5 files changed

+1423
-4
lines changed

5 files changed

+1423
-4
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ structures and more general algebraic structures.
9191
| [AsyncEither](./async_either.ts) || | | TaskEither |
9292
| [Decoder](./decoder.ts) || | | |
9393
| [Either](./either.ts) || | | |
94+
| [Effect](./effect.ts) || | | AsyncStateEither |
9495
| [Fn](./fn.ts) || | | Reader |
9596
| [FnEither](./fn_either.ts) || | | ReaderEither |
9697
| [Identity](./identity.ts) || | | Trivial |
@@ -99,9 +100,11 @@ structures and more general algebraic structures.
99100
| [Optic](./optic.ts) || | | Iso, Lens, Optional, Prism, Traversal |
100101
| [Option](./option.ts) || | | Maybe |
101102
| [Pair](./pair.ts) || | | Separated |
103+
| [Parser](./parser.ts) || | | Parsec |
102104
| [Predicate](./predicate.ts) || | | |
103105
| [Refinement](./refinement.ts) || | | |
104106
| [State](./state.ts) || | | |
107+
| [StateEither](./state_either.ts) || | | |
105108
| [Stream](./stream.ts) || | | Observable |
106109
| [Sync](./sync.ts) || | | IO |
107110
| [SyncEither](./sync_either.ts) || | | IOEither |

deno.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@baetheus/fun",
3-
"version": "2.3.4",
3+
"version": "2.3.5",
44
"exports": {
55
"./applicable": "./applicable.ts",
66
"./array": "./array.ts",
@@ -15,6 +15,7 @@
1515
"./datum": "./datum.ts",
1616
"./datum_either": "./datum_either.ts",
1717
"./decoder": "./decoder.ts",
18+
"./effect": "./effect.ts",
1819
"./either": "./either.ts",
1920
"./failable": "./failable.ts",
2021
"./filterable": "./filterable.ts",
@@ -23,7 +24,6 @@
2324
"./fn_either": "./fn_either.ts",
2425
"./foldable": "./foldable.ts",
2526
"./free": "./free.ts",
26-
"./ideas/dux": "./ideas/dux.ts",
2727
"./identity": "./identity.ts",
2828
"./initializable": "./initializable.ts",
2929
"./iterable": "./iterable.ts",
@@ -56,7 +56,9 @@
5656
"./these": "./these.ts",
5757
"./traversable": "./traversable.ts",
5858
"./tree": "./tree.ts",
59-
"./wrappable": "./wrappable.ts"
59+
"./wrappable": "./wrappable.ts",
60+
"./ideas/callbag": "./ideas/callbag.ts",
61+
"./ideas/dux": "./ideas/dux.ts"
6062
},
6163
"include": [
6264
"LICENSE",

0 commit comments

Comments
 (0)