« first day (3326 days earlier)      last day (454 days later) » 

10:56 AM
@GrahamChiu Not sure what you mean.
 
 
8 hours later…
7:03 PM
Well since ensure creates an error if the match fails then we need to trap those errors and provide a continuation
To avoid an error we can use a case structure
 
7:27 PM
Anyway, what situation calls for an assert on a pattern match?
 
 
2 hours later…
9:32 PM
@GrahamChiu Speaking of which I'm wondering if ENSURE would be better off powered by PARSE, e.g. ensure [integer! | block!] ... instead of trying to design another dialect that's more compact like ensure [integer! block!] ...
I use asserts a lot and I kind of fail to understand how people writing imperative-driven software can not do so.
 

« first day (3326 days earlier)      last day (454 days later) »