Commit Graph

  • 3003c9fdf5 Disable warning about DotLikeOps Mark Spanbroek 2022-08-08 15:03:59 +02:00
  • 13c7ff7671 Retrieve optional error from Result Mark Spanbroek 2022-08-03 15:36:24 +02:00
  • 94fbc32d36 Retrieve optional error from Result Mark Spanbroek 2022-08-03 15:36:24 +02:00
  • b0666ba4f1
    Fixes for styleCheck:usages (#16) Tanguy 2022-08-03 15:20:33 +02:00
  • 3b80e935ba
    Fix sneaky error Tanguy 2022-08-03 15:02:40 +02:00
  • 49ff434311
    bump nim 1.2 Tanguy 2022-08-03 14:37:34 +02:00
  • ae41bcfb0f
    Fixes for styleCheck:usages Tanguy 2022-08-03 14:32:47 +02:00
  • 955597a4fd
    Add setup/lock files (#14) Ivan Yonchovski 2022-07-12 21:34:52 +03:00
  • de29d41b24 Add setup/lock files Ivan Yonchovski 2022-07-12 16:00:35 +03:00
  • 0f9b12abc6 version 0.10.4 0.10.4 Mark Spanbroek 2022-07-04 09:59:59 +02:00
  • d9333a8f03 Remove obsolete ASDF tool version Mark Spanbroek 2022-07-04 09:56:56 +02:00
  • 0895a9c065 Fix: without statement with error works in generic code Mark Spanbroek 2022-06-20 17:36:24 +02:00
  • 9016c9f65c Fix: without statement with error works in generic code Mark Spanbroek 2022-06-20 17:36:24 +02:00
  • e963a934ed
    Workaround template & quote do binding issues Tanguy 2022-06-21 14:52:46 +02:00
  • 2ce6dba98b Remove replaceInfix; no longer used Mark Spanbroek 2022-06-20 15:43:07 +02:00
  • de0ad2aa0c Additional test for nested without statements Mark Spanbroek 2022-06-20 15:34:23 +02:00
  • e719504ab6 Re-add {.used.} to bound variables Mark Spanbroek 2022-06-20 15:33:51 +02:00
  • 845a306417
    Export Option.questionableUnpack Tanguy 2022-06-20 15:33:08 +02:00
  • 1e8ac329f8
    Simpler unpack for option Tanguy 2022-06-20 15:17:32 +02:00
  • ab4d65ac83
    Re-introduce placeholder Tanguy 2022-06-20 15:03:55 +02:00
  • b4bed3ff52
    Other cleanup Tanguy 2022-06-20 14:32:05 +02:00
  • f4ada730b8
    Cleanup Tanguy 2022-06-20 14:30:51 +02:00
  • 8fbf39a60f
    Fix CI Tanguy 2022-06-16 18:09:50 +02:00
  • ba353b27e4
    Attempt to fix #11 Tanguy 2022-06-16 17:58:20 +02:00
  • d7e9f0bf7f Version 0.10.3 0.10.3 Mark Spanbroek 2022-04-04 09:56:53 +02:00
  • 361948499b Fix deprecation warning when importing errorban inside the library Nickolay Bukreyev 2022-04-03 09:08:32 +07:00
  • 4ca10c85a3 Fix deprecation warning when importing errorban inside the library Nickolay Bukreyev 2022-04-03 09:08:32 +07:00
  • 6018fd43e0 version 0.10.2 0.10.2 Mark Spanbroek 2022-01-12 17:57:03 +01:00
  • a748d22350 Fix: ensure that overridden =? operator does not remain in scope Mark Spanbroek 2022-01-11 12:31:25 +01:00
  • ef29000f94 Without statement for Results provides access to errors Mark Spanbroek 2022-01-10 17:48:59 +01:00
  • 15e514d2b0 Fix: ensure that overridden =? operator does not remain in scope Mark Spanbroek 2022-01-11 12:31:25 +01:00
  • 2a0fdf680c Without statement for Results provides access to errors Mark Spanbroek 2022-01-10 17:48:59 +01:00
  • 91a38040ea Add license Mark Spanbroek 2022-01-10 11:04:48 +01:00
  • 7b209af6fb version 0.10.1 Mark Spanbroek 2021-12-04 17:27:54 +01:00
  • 92641b552d Switch warningAsError only works for Nim >= 1.4.0 Mark Spanbroek 2021-12-04 17:55:13 +01:00
  • cfe4c6fc95 Ensure that =? works with types that do not have a default value Mark Spanbroek 2021-12-04 17:26:08 +01:00
  • d7a757a8cb Switch to Nim 1.6.0 for development Mark Spanbroek 2021-11-01 17:18:49 +01:00
  • 0fe40d2347 Run CI on Nim 1.2, 1.4 and 1.6 Mark Spanbroek 2021-11-01 17:18:35 +01:00
  • 56a4bca641 Fix typo Mark Spanbroek 2021-08-30 18:13:43 +02:00
  • 4967084d22 Better errors when using a proc without a return type in a .? chain Mark Spanbroek 2021-08-30 15:58:29 +02:00
  • b9a090d001 Ensure that test modules use local nimbledeps folder Mark Spanbroek 2021-07-12 11:26:35 +02:00
  • 8feb684574 Fix "unused variable" warnings Mark Spanbroek 2021-07-07 09:19:44 +02:00
  • 4a1783c472 Add documentation comments Mark Spanbroek 2021-06-04 17:34:48 +02:00
  • a2ded4f01a Simplify Mark Spanbroek 2021-06-04 16:38:44 +02:00
  • 986716511f version 0.10.0 0.10.0 Mark Spanbroek 2021-05-31 16:26:06 +02:00
  • 3f18970931 Nim 1.4.8 Mark Spanbroek 2021-05-31 16:24:30 +02:00
  • 93f5c919fb Ensure that optional binding works with closures Mark Spanbroek 2021-05-31 16:24:21 +02:00
  • 54516fd2d1 version 0.9.1 0.9.1 Mark Spanbroek 2021-05-06 17:29:48 +02:00
  • d18580bb68 Better error message when adding a void result to a .? chain Mark Spanbroek 2021-05-06 17:28:58 +02:00
  • dd9ac6dc20 version 0.9.0 0.9.0 Mark Spanbroek 2021-05-06 17:14:19 +02:00
  • 2700038316 Fix use of =? in generic code Mark Spanbroek 2021-05-06 17:12:52 +02:00
  • 7303be50da version 0.8.0 0.8.0 Mark Spanbroek 2021-05-04 16:18:58 +02:00
  • 8bf4f27f30 Avoid wrapping option in option when using .?[] operator Mark Spanbroek 2021-05-04 16:17:09 +02:00
  • e8ab268758 Ensure that .? chains work in generic code Mark Spanbroek 2021-05-04 15:55:05 +02:00
  • ebc7a2b48e version 0.7.0 0.7.0 Mark Spanbroek 2021-04-19 15:53:27 +02:00
  • ee3d38d8d5 Fix typo Mark Spanbroek 2021-04-19 15:52:15 +02:00
  • 0569625f6a Replace .get with operator ! Mark Spanbroek 2021-04-19 15:52:07 +02:00
  • db9e1a343a Nim 1.4.6 Mark Spanbroek 2021-04-17 20:10:07 +02:00
  • fa56587bcd Avoid wrapping option in option and result in result Mark Spanbroek 2021-04-17 19:50:02 +02:00
  • d82581244c Simplify Mark Spanbroek 2021-04-17 19:25:33 +02:00
  • fca4c14e0c version 0.6.3 0.6.3 Mark Spanbroek 2021-04-16 12:29:06 +02:00
  • a8834aea66 Add missing test from readme Mark Spanbroek 2021-04-16 12:27:43 +02:00
  • ef5f796463 without statement Mark Spanbroek 2021-04-16 12:27:17 +02:00
  • 827214f7a9 questionable/results also exports chaining and indexing Mark Spanbroek 2021-04-16 12:10:10 +02:00
  • b85a8eb5c8 version 0.6.2 0.6.2 Mark Spanbroek 2021-04-15 11:04:54 +02:00
  • 144c70580a Calling success without arguments returns ?!void result Mark Spanbroek 2021-04-15 11:04:26 +02:00
  • a66e42d058 version 0.6.1 0.6.1 Mark Spanbroek 2021-04-15 10:55:21 +02:00
  • 89850aab50 Makes |?, =? and .option compatible with other types of Result Mark Spanbroek 2021-04-15 10:54:50 +02:00
  • 83101ce073 version 0.6.0 0.6.0 Mark Spanbroek 2021-04-15 09:48:09 +02:00
  • fd73ff713f Adds failure overload that uses result to determine type Mark Spanbroek 2021-04-15 09:41:32 +02:00
  • 86bfcc1a47 Use failure and success instead of ok and err Mark Spanbroek 2021-04-15 09:39:37 +02:00
  • a2023ae18e Documented how to work with =? in generic procs Mark Spanbroek 2021-04-12 18:05:01 +02:00
  • a8fe7bf7b3 version 0.5.0 0.5.0 Mark Spanbroek 2021-04-12 16:07:05 +02:00
  • e66cd2439b Remove errorban from public api Mark Spanbroek 2021-04-12 16:05:31 +02:00
  • 3e92c35a85 Rename chaining and indexing operators Mark Spanbroek 2021-04-12 15:51:25 +02:00
  • e0d236aaf8 version 0.4.3 0.4.3 Mark Spanbroek 2021-03-22 14:06:10 +01:00
  • 40f5b4f1b8 Allow indexing of tables with ?[] Mark Spanbroek 2021-03-18 17:58:48 +01:00
  • 91f97c73ef Evaluate =? expressions only once Mark Spanbroek 2021-03-18 16:59:55 +01:00
  • 4f0010638b version 0.4.2 0.4.2 Mark Spanbroek 2021-03-18 09:50:43 +01:00
  • aef59c42eb Allow optional binding to vars Mark Spanbroek 2021-03-18 09:50:06 +01:00
  • 68153ab182 version 0.4.1 0.4.1 Mark Spanbroek 2021-03-16 09:45:57 +01:00
  • 74c5089d49 Allow failure() to be called with string argument Mark Spanbroek 2021-03-16 09:45:06 +01:00
  • 21927f3c88 Replace "check false" with "fail" Mark Spanbroek 2021-03-13 11:54:03 +01:00
  • 1d5a0222a7 Better type annotations for ->? operator Mark Spanbroek 2021-03-13 11:46:26 +01:00
  • 56e0e123d6 version 0.4.0 0.4.0 Mark Spanbroek 2021-03-13 11:10:41 +01:00
  • 43f09e8c86 Rename toOption() -> option() Mark Spanbroek 2021-03-13 11:10:05 +01:00
  • b8e52b6acf Add comments to clarify chaining code Mark Spanbroek 2021-03-13 10:54:16 +01:00
  • e266870dfa version 0.3.0 0.3.0 Mark Spanbroek 2021-03-11 17:51:18 +01:00
  • 8683732d99 Chaining operator becomes ?. instead of .? Mark Spanbroek 2021-03-11 17:50:30 +01:00
  • 53924aeeda Handle calls and operators following a .? chain Mark Spanbroek 2021-03-11 16:17:26 +01:00
  • 0e166a6e81 Update readme test Mark Spanbroek 2021-03-09 09:42:35 +01:00
  • 8a5ff10244 version 0.2.0 0.2.0 Mark Spanbroek 2021-03-09 09:25:17 +01:00
  • 1ad83adc9d Convert Result to Option Mark Spanbroek 2021-03-08 17:48:07 +01:00
  • c7fabfc23b Add readme 0.1.0 Mark Spanbroek 2021-03-08 16:11:20 +01:00
  • 59548bcd74 Use operator lifting for the indexing operator Mark Spanbroek 2021-03-08 16:11:01 +01:00
  • fe8acac2cd Fix warning in Nim 1.2.6 Mark Spanbroek 2021-03-07 13:01:52 +01:00
  • 1b47843012 Lift operators so that they can be used on options and results Mark Spanbroek 2021-03-07 08:56:35 +01:00
  • dfe4e3cc4b Continuous integration with Github actions Mark Spanbroek 2021-03-06 10:54:11 +01:00
  • 81ed9b652c Initial version of questionable Mark Spanbroek 2021-03-05 21:07:48 +01:00