Stephane Bersieraiconversations.hashnode.dev·Nov 8, 2024Untagged Algebraic Data Types, with ChatGPTThe following is an edited version of an article written by ChatGPT, after some back-and-forth. This summary explores untagged algebraic data types (ADTs), focusing on their similarities and differences with traditional tagged ADTs. We examine union ...ConversationsWithChatGPT
Redge Shepherdtcltkscripts.com·Jul 18, 2022Multiset Combinations - Part 4Unique Combinations From a Multiset Using Crystal I presented formula-based versions of our Unique Combinations algorithm using Tcl/Tk and GO in parts 2 and 3 of this "Multiset Combinations" series, respectively. I decided to delve a little deeper i...40 readsMultiset Combinationscrystal
Redge Shepherdtcltkscripts.com·Jul 3, 2022Multiset Combinations - Part 3Unique Combinations From A Multiset Using GO I presented a formula-based version of a Unique Combinations algorithm in "Multiset Combinations - Part 2." This post presents a version of the same algorithm in GO. The names of the variables are more m...53 readsMultiset CombinationsMultiset
Redge Shepherdtcltkscripts.com·Jun 21, 2022Multiset Combinations - Part 2Multiset Combinations: Formula-Based Solution In Part 1 of this series, we presented a multiset and displayed all of the unique combinations on the console. We used an algorithm that worked like an odometer where the count of a given element served...38 readsTcl
Redge Shepherdtcltkscripts.com·Jun 18, 2022Multiset Combinations - Part 1What is a multiset? A Multiset contains one or more groups of like elements or items. For example, AAAA BBB CC D is a multiset comprised of four groups of letters. How many Unique Combinations? The number of unique combinations is the product of t...96 readsTcl