Does Isabelle offer some equivalent to Haskell's as-pattern
https://en.wikibooks.org/wiki/Haskell/Pattern_matching#As-patterns ?
Yes, ~~/src/HOL/Library/Pattern_Aliases.thy
.
Thank you :) Is there some nice page where I can scroll through to get a better understanding of what is available ?
Not really. You can look at this document to see what is in the Library: https://isabelle.in.tum.de/library/HOL/HOL-Library/document.pdf
There is the "What's in main" document on the website/in the documentation that lists some of the stuff that is in HOL. But nothing like that exists for HOL-Library. I would just have a look through it once.
Last updated: Dec 21 2024 at 16:20 UTC