Hmmm, okay, I was using slingshot/try+ everywhere and then, just once, I
used a plain 'try' and forgot to use the correct catch. My fault.
On Thursday, February 3, 2022 at 1:56:59 PM UTC-5 Laws wrote:
>
> I see this old post by Fogus:
>
> http://blog.fogus.me/2009/12/21/clojures-pre-and-post/
>
I see this old post by Fogus:
http://blog.fogus.me/2009/12/21/clojures-pre-and-post/
With this example:
(defn constrained–fn [f x]
{:pre [(pos? x)]
:post [(= % (* 2 x))]}
(f x))
But I see this modern example:
https://ostash.dev/posts/2021-07-01-pre-post-conditions/
(defn func ^{:pre
Thank you, everyone.
On Wednesday, February 2, 2022 at 3:22:53 PM UTC-5 lawrence...@gmail.com
wrote:
> Assume I've been cursed to scrape HTML. If I convert the pages to Hickory
> I end up with a big mass of data which, sadly, lacks many "class" or "id"s
> that would let me easily pick out the