Commit Graph

  • 2906828765
    Add errorOption example to Readme main Adam Uhlíř 2025-10-22 16:12:58 +02:00
  • 2e7f20392b Update Readme.md Marcin Czenko 2024-11-28 17:25:03 +01:00
  • 69fc4b3f4d
    Update Readme.md Marcin Czenko 2024-11-28 17:25:03 +01:00
  • 3dcf21491d without with error variable works for any Result type Mark Spanbroek 2024-03-12 15:15:19 +01:00
  • 82d90b67bc version 0.10.15 0.10.15 Mark Spanbroek 2024-04-20 08:08:31 +02:00
  • b098ae696a Workaround for Nim gensym bug Mark Spanbroek 2024-04-20 08:03:54 +02:00
  • f5a539ce1a Workaround for Nim gensym bug Mark Spanbroek 2024-04-20 08:03:54 +02:00
  • af4bbfb575 without with error variable works for any Result type Mark Spanbroek 2024-03-12 15:15:19 +01:00
  • 83ae4a6409 version 0.10.14 0.10.14 Mark Spanbroek 2024-03-10 12:14:59 +01:00
  • 57e467b8b0 Fix: without should work when $ has side effects Mark Spanbroek 2024-03-10 12:02:45 +01:00
  • 4c03fbe297 Fix: without should work when $ has side effects Mark Spanbroek 2024-03-10 12:02:45 +01:00
  • 47692e0d92 version 0.10.13 0.10.13 Mark Spanbroek 2024-01-09 16:57:24 +01:00
  • 6ef525cfe2 Reference types are handled by without statement with error Mark Spanbroek 2023-12-19 15:55:45 +01:00
  • bdaec762e6 Reference types are handled by without statement with error Mark Spanbroek 2023-12-19 15:55:45 +01:00
  • 43e7deb827 Fix BareExcept warnings Mark Spanbroek 2023-12-19 15:23:12 +01:00
  • 4a74d65e17 Mark generated error variable explicitly as {.gensym.} Mark Spanbroek 2024-01-09 13:50:23 +01:00
  • 672248f431 Get rid of trick with type parameter Mark Spanbroek 2024-01-09 10:40:27 +01:00
  • d463d491cc Handle bind (=?) errors in without statements differently Mark Spanbroek 2023-12-18 17:01:37 +01:00
  • af702731a5 Mark generated error variable explicitly as {.gensym.} Mark Spanbroek 2024-01-09 13:50:23 +01:00
  • 2dbb7027e4 Get rid of trick with type parameter Mark Spanbroek 2024-01-09 10:40:27 +01:00
  • 247ad04918 Fix BareExcept warnings Mark Spanbroek 2023-12-19 15:23:12 +01:00
  • 4d6f754d35 Handle bind (=?) errors in without statements differently Mark Spanbroek 2023-12-18 17:01:37 +01:00
  • 1f0afff48b
    Support for .?[] operator on openArrays (#52) Tomasz Bekas 2023-11-20 14:58:49 +01:00
  • a884e5bf64 Fix for Nim 1.2.x Mark Spanbroek 2023-11-20 14:40:07 +01:00
  • 48e8fe845f Operator .?[] evaluates openArray expression only once Mark Spanbroek 2023-11-20 14:26:32 +01:00
  • b4d8327329
    Support for .?[] operator on openArrays Tomasz Bekas 2023-11-20 12:34:45 +01:00
  • 2dd6b6b220 version 0.10.12 0.10.12 Mark Spanbroek 2023-11-14 10:57:03 +01:00
  • 0f095d6b7c Overload toOption for Result Nickolay Bukreyev 2023-11-14 14:41:10 +07:00
  • cdf639c4ea Support binding closure iterators (except on Nim == 2.0) Nickolay Bukreyev 2023-11-14 14:27:12 +07:00
  • fe47a19825 Create identifiers with genSym Nickolay Bukreyev 2023-11-13 21:10:34 +07:00
  • 440debc7c3 Accept only optional and reference types as RHS of =? Nickolay Bukreyev 2023-11-13 20:43:59 +07:00
  • 5d9d6f0fae Overload toOption for Result Nickolay Bukreyev 2023-11-14 14:41:10 +07:00
  • 24a2e4eae6 Support binding closure iterators (except on Nim == 2.0) Nickolay Bukreyev 2023-11-14 14:27:12 +07:00
  • 6226cbc49a Create identifiers with genSym Nickolay Bukreyev 2023-11-13 21:10:34 +07:00
  • 8ed9709da4 Accept only optional and reference types as RHS of =? Nickolay Bukreyev 2023-11-13 20:43:59 +07:00
  • c2a08bd703 version 0.10.11 0.10.11 Mark Spanbroek 2023-11-08 10:14:25 +01:00
  • 52e11f2011 Fix compilation issue with Nim 1.6.16 Mark Spanbroek 2023-11-07 10:41:47 +01:00
  • 5674b1a2fb Fix compilation issue with Nim 1.6.16 Mark Spanbroek 2023-11-07 10:41:47 +01:00
  • af4f194597 Fix tests for Nim < 2.0 Mark Spanbroek 2023-08-29 09:19:20 +02:00
  • 5c8d422ac8 fix error binding in without statement on multiple threads Mark Spanbroek 2023-08-29 09:13:43 +02:00
  • ebb0bc321e Fix tests for Nim < 2.0 Mark Spanbroek 2023-08-29 09:19:20 +02:00
  • dab2749a6d fix error binding in without statement on multiple threads Mark Spanbroek 2023-08-29 09:13:43 +02:00
  • e56cf86c4a Indexing of strings and sequences should not catch Defect Mark Spanbroek 2023-08-03 14:51:31 +02:00
  • 78ed49ce86 Indexing of strings and sequences should not catch Defect Mark Spanbroek 2023-08-03 14:51:31 +02:00
  • 416b6dd566 Support seq indexing Tomasz Bekas 2023-08-03 11:42:39 +02:00
  • 8402ac1db4
    Support seq indexing Tomasz Bekas 2023-08-03 11:42:39 +02:00
  • 08581f5efd Run CI on Nim 1.2, 1.4, 1.6 and 2.0 Mark Spanbroek 2023-08-02 15:25:32 +02:00
  • 9af4ce1ca1 Better compilation error when calling without with wrong parameter Mark Spanbroek 2023-08-02 15:13:32 +02:00
  • edbab7d252 Run CI on Nim 1.2, 1.4, 1.6 and 2.0 Mark Spanbroek 2023-08-02 15:25:32 +02:00
  • 086fd4a8db Better compilation error when calling without with wrong parameter Mark Spanbroek 2023-08-02 15:13:32 +02:00
  • e039d6a23f
    try repr add-subtyped-qbang Jaremy Creechley 2023-07-28 01:51:20 -07:00
  • 50feb1f25b
    try strVal Jaremy Creechley 2023-07-28 01:45:28 -07:00
  • 1569ef4526 Fix tests for stew with Nim < 1.6 Mark Spanbroek 2023-07-28 09:51:03 +02:00
  • ced675233b
    don't assert Jaremy Creechley 2023-07-28 00:52:47 -07:00
  • cd1fef027c Fix tests for stew with Nim < 1.6 Mark Spanbroek 2023-07-28 09:51:03 +02:00
  • 388797861d
    add kind check Jaremy Creechley 2023-07-27 20:08:33 -07:00
  • a7a7e99a2e
    add inline ?! type and documentation tweaks Jaremy Creechley 2023-07-26 16:53:25 -07:00
  • b3cf35ac45 version 0.10.10 0.10.10 Mark Spanbroek 2023-07-03 11:17:51 +02:00
  • 3bce3088a7 Use root configuration when running tests Mark Spanbroek 2023-07-03 11:14:00 +02:00
  • ffe0faa3bb Only enable --styleCheck:usages on Nim versions that support it Mark Spanbroek 2023-07-03 11:11:49 +02:00
  • 4df05d6cff Use root configuration when running tests Mark Spanbroek 2023-07-03 11:14:00 +02:00
  • 3e60105d88 Only enable --styleCheck:usages on Nim versions that support it Mark Spanbroek 2023-07-03 11:11:49 +02:00
  • 0d7ce8efde Provide conversion to string $ for Results Mark Spanbroek 2022-01-12 10:49:30 +01:00
  • 58c10fb333 version 0.10.9 0.10.9 Mark Spanbroek 2023-06-26 10:02:25 +02:00
  • 8daae27089 Do not edit AST nodes, make a copy first Mark Spanbroek 2023-06-07 16:23:55 +02:00
  • 2540d129f3 Do not edit AST nodes, make a copy first Mark Spanbroek 2023-06-07 16:23:55 +02:00
  • 23c44bf764 Provide conversion to string $ for Results Mark Spanbroek 2022-01-12 10:49:30 +01:00
  • b18444a6d0 Support renamed 'results' library Mark Spanbroek 2023-06-05 17:00:09 +02:00
  • f957dd59d6 Fix tests on Nim 1.6.12 Mark Spanbroek 2023-06-05 17:01:32 +02:00
  • 141e1a9369 Support renamed 'results' library Mark Spanbroek 2023-06-05 17:00:09 +02:00
  • d9186b6916 Fix tests on Nim 1.6.12 Mark Spanbroek 2023-06-05 17:01:32 +02:00
  • 6cbbda7e4d version 0.10.8 0.10.8 Mark Spanbroek 2023-02-14 09:31:58 +01:00
  • 096ca864b0
    tuple binding and unpacking support (#29) Eric Mastro 2023-02-14 09:56:32 +11:00
  • 6382af43b3 Add tests for failed tuple bindings Mark Spanbroek 2023-02-13 12:16:50 +01:00
  • 935535a76e Rearrange tuple binding code Mark Spanbroek 2023-02-13 12:05:57 +01:00
  • 8b210f3f67 Remove unused import Mark Spanbroek 2023-02-13 11:53:13 +01:00
  • 01127892dd Add tests for tuple unpacking of Result Mark Spanbroek 2023-02-13 11:25:29 +01:00
  • decda57024 Test binding of optional tuple, not just tuple Mark Spanbroek 2023-02-13 11:25:00 +01:00
  • 6ccb74419f Use ? instead of Option[] in tests Mark Spanbroek 2023-02-13 11:24:31 +01:00
  • e7afaeac49
    support tuple binding in nim < 1.6 Eric Mastro 2023-02-13 17:10:10 +11:00
  • 7a3d3430a4
    tuple binding and unpacking support Eric Mastro 2023-02-09 22:12:46 +11:00
  • d079162675 Use scope instead of block scope Mark Spanbroek 2022-10-24 13:02:55 +02:00
  • 1dcef4b302 version 0.10.7 0.10.7 Mark Spanbroek 2022-10-20 12:13:43 +02:00
  • f78bdd9d58 Fix redefinition of 'T`gensymXX' error Mark Spanbroek 2022-10-20 12:08:51 +02:00
  • ab56220011 Fix redefinition of 'T`gensymXX' error Mark Spanbroek 2022-10-20 12:08:51 +02:00
  • 30e4184a99 version 0.10.6 0.10.6 Mark Spanbroek 2022-09-28 11:37:18 +02:00
  • 4d631b1ba9 Fix: ensure that options and results are only evaluated once Mark Spanbroek 2022-09-28 10:06:39 +02:00
  • 96ec72b33c Fix: ensure that options and results are only evaluated once Mark Spanbroek 2022-09-28 10:06:39 +02:00
  • 82408a5ca2 version 0.10.5 0.10.5 Mark Spanbroek 2022-08-10 13:39:00 +02:00
  • cbdd882b9f Fix: unused variable Mark Spanbroek 2022-08-10 11:50:43 +02:00
  • 9e3a822877 Fix: disregard early symbol lookup for error variable Mark Spanbroek 2022-08-10 11:11:45 +02:00
  • cfe17ca899 Fix error when using an existing name as error variable Mark Spanbroek 2022-08-09 14:22:53 +02:00
  • 548f28ee89 Fix: unused variable Mark Spanbroek 2022-08-10 11:50:43 +02:00
  • c8a7b189ea Fix: disregard early symbol lookup for error variable Mark Spanbroek 2022-08-10 11:11:45 +02:00
  • 8b28065480 Fix error when using an existing name as error variable Mark Spanbroek 2022-08-09 14:22:53 +02:00
  • 90ea780ba9 Fix: nested without calls in generic code Mark Spanbroek 2022-08-09 08:54:26 +02:00
  • 4abeef5c36 Fix: without statement with error works in nested calls Mark Spanbroek 2022-08-08 18:00:10 +02:00
  • 22f2c9761a Disable warning about DotLikeOps Mark Spanbroek 2022-08-08 15:03:59 +02:00
  • fed12cf7f7 Fix: nested without calls in generic code Mark Spanbroek 2022-08-09 08:54:26 +02:00
  • f6363e19d3 Fix: without statement with error works in nested calls Mark Spanbroek 2022-08-08 18:00:10 +02:00