Matei Adriel
63ce76a552
typescript(option): fix: fixed lib not beeing tree-shakeable
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 17:19:26 +02:00
Matei Adriel
0fd6baac81
typescript(option): chore: updated readme
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 17:07:40 +02:00
Matei Adriel
457f1ee53e
typescript(option): feat: added the 'combine' helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 17:05:16 +02:00
Matei Adriel
08b28804e0
typescript(option): feat: added the 'values' helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:53:20 +02:00
Matei Adriel
bf3fc154e3
typescript(option): test: refactored tests to use alwaysX instead of constantly(x)
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:37:04 +02:00
Matei Adriel
ab5e468375
typescript(option): feat: added the 'unpack' helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:36:05 +02:00
Matei Adriel
cd5dc00dbd
typescript(option): docs: fixed all the comments where I called Option Maybe and None Nothing
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:28:38 +02:00
Matei Adriel
09a788f8ff
typescript(option): fix: fixed withDefaultLazy not being exported
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:23:59 +02:00
Matei Adriel
69dcaa5e91
typescript(option): refactor: refactored everything to use unwrap instead of match
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:22:10 +02:00
Matei Adriel
6dc868c5fb
typescript(option): feat: added the 'withDefaultLazy' helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:16:09 +02:00
Matei Adriel
6f36c3d826
typescript(option): test: wrote tests for the 'withDefault' helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:04:36 +02:00
Matei Adriel
089ba6148f
typescript(option): docs: wrote docs for the 'withDefault' helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 16:04:09 +02:00
Matei Adriel
668c33b9fb
typescript(option): feat: added the 'unwrap' helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-26 15:52:15 +02:00
Matei Adriel
5ea670e3b9
typescript(option): chore: updated tags
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 17:05:11 +02:00
Matei Adriel
1d2e49fb02
typescript(option): chore: proper capitalisation for typescript
...
typescript(option):
typescript(option): BlueGhost told me I'm supposed to write TypeScript, not typescript, so here I am making a commit for modifying 4 characters =)
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 16:52:20 +02:00
Matei Adriel
0350517b71
typescript(option): build: fixed rollup not reading tsconfig.json while emiting the declarations
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 16:33:05 +02:00
Matei Adriel
664a46319d
typescript(option): chore: updated readme
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 16:25:30 +02:00
Matei Adriel
470574fdad
typescript(option): feat: added the 'oneOf' helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 16:09:18 +02:00
Matei Adriel
6a8191cc34
typescript(option): feat: added the 'orLazy' helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 15:51:56 +02:00
Matei Adriel
a525a46bca
typescript(option): feat: added a first helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 15:40:47 +02:00
Matei Adriel
9989591593
typescript(option): feat: added an or helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 15:31:43 +02:00
Matei Adriel
cd4aba143c
typescript(option): feat: added an optionify helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 15:17:22 +02:00
Matei Adriel
aade2d23d7
typescript(option): test: wrote tests for isSome
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 15:07:04 +02:00
Matei Adriel
a649904d4e
typescript(option): test: wrote tests for isNone
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 15:06:19 +02:00
Matei Adriel
941263e82b
typescript(option): test: wrote tests for get
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 15:04:23 +02:00
Matei Adriel
e241784601
typescript(option): test: wrote tests for flat
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 15:01:44 +02:00
Matei Adriel
f8e501b876
typescript(option): test: wrote tests for filter
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 14:58:29 +02:00
Matei Adriel
7e2e25263c
typescript(option): ci: run tests before releasing
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-25 14:46:33 +02:00
Matei Adriel
2b681bfa7f
typescript(option): test: added tests for exists
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 16:11:20 +02:00
Matei Adriel
ca91cd20f8
typescript(option): chore: added lib to gitignore
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 16:07:00 +02:00
Matei Adriel
bf2022b56e
typescript(option): chore: WHY WASNT LIB GITIGNORED
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 16:06:26 +02:00
Matei Adriel
d905e05a19
typescript(option): test: added tests for count
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 16:05:22 +02:00
Matei Adriel
1a443ee349
typescript(option): test: added tests for bindAsync
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 16:01:51 +02:00
Matei Adriel
1fc2ef32e4
typescript(option): test: added tests for bind
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 15:59:19 +02:00
Matei Adriel
dcd55c5047
typescript(option): fix: compL was only used once so it wasn't worth the bundle sacrifice
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 15:17:09 +02:00
Matei Adriel
a32f62cfc6
typescript(option): fix: fixed the type definition for count
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 15:12:48 +02:00
Matei Adriel
0ef7baa739
typescript(option): refactor: now using @thi.ng/compose
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 15:08:36 +02:00
Matei Adriel
0abd53917b
typescript(option): fix: fixed wrong types for bind, bindAsync, and probably other helpers as well
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 15:00:29 +02:00
Matei Adriel
ff81096e6f
typescript(option): refactor: rewrote Some as a typecasted identity
...
typescript(option):
typescript(option): The Some function did nothing at runtime so a typecasted identity did the job
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 14:25:10 +02:00
Matei Adriel
445bab939e
typescript(option): refactor: no longer using the useless some symbol
...
typescript(option):
typescript(option): The symbol was never actually used so declaring it is good enough
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 14:24:23 +02:00
Matei Adriel
f46ef3dbf8
typescript(option): fix: Fixed the name of isNone
...
typescript(option):
typescript(option): Previously the name was isNothing bu isNone makes more sense
typescript(option):
typescript(option): BREAKING CHANGE: Changed the name of isNothing to isNone
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 14:16:32 +02:00
Matei Adriel
d02031e416
typescript(option): feat: readded the .toString() method on None
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 14:05:26 +02:00
Matei Adriel
e2e085cbc3
typescript(option): fix: fied broken brand equality
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 14:04:52 +02:00
Matei Adriel
729b901bc5
typescript(option): refactor: .then(Some) looks better than async await
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 13:53:54 +02:00
Matei Adriel
c56f734d82
typescript(option): fix: fixed tslib not beeing installed
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 13:35:04 +02:00
Matei Adriel
b16272a3aa
typescript(option): feat: added a bindAsync helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 13:31:56 +02:00
Matei Adriel
9236bade0c
typescript(option): feat: added a mapAsync helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 13:29:38 +02:00
Matei Adriel
467198921d
typescript(option): refactor: split heplers in different files
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 13:17:51 +02:00
Matei Adriel
d1b7740878
typescript(option): refactor: Ditched the cusom NominalType type
...
typescript(option):
typescript(option): Instead of defining my own NominalType now I use the Brand type from
typescript(option): utility types.
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-23 13:00:11 +02:00
Matei Adriel
aed68688a1
typescript(option): fix: fixed the exporting by misstake of Some and None
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-22 17:50:25 +02:00