11 Commits

Author SHA1 Message Date
Mark Spanbroek
aef59c42eb Allow optional binding to vars 2021-03-18 09:50:06 +01:00
Mark Spanbroek
74c5089d49 Allow failure() to be called with string argument 2021-03-16 09:45:06 +01:00
Mark Spanbroek
21927f3c88 Replace "check false" with "fail" 2021-03-13 11:54:03 +01:00
Mark Spanbroek
43f09e8c86 Rename toOption() -> option()
To match the style of std/options, where option() is also used
to convert a ref to an Option.
2021-03-13 11:10:05 +01:00
Mark Spanbroek
8683732d99 Chaining operator becomes ?. instead of .? 2021-03-11 17:50:30 +01:00
Mark Spanbroek
53924aeeda Handle calls and operators following a .? chain
Fixes #3
2021-03-11 16:17:26 +01:00
Mark Spanbroek
0e166a6e81 Update readme test 2021-03-09 09:42:35 +01:00
Mark Spanbroek
1ad83adc9d Convert Result to Option 2021-03-09 09:23:40 +01:00
Mark Spanbroek
c7fabfc23b Add readme 2021-03-08 16:11:20 +01:00
Mark Spanbroek
1b47843012 Lift operators so that they can be used on options and results 2021-03-07 13:07:33 +01:00
Mark Spanbroek
81ed9b652c Initial version of questionable
Syntactic sugar for std/options, pkg/result and pkg/stew
2021-03-06 10:38:44 +01:00