mini EAL implementation in Haskell https://discord.com/channels/912426566838013994/1240687735115874426/1399379118478458922