Waffle on GitHub: https://github.com/hyperrealgopher/waffle
Waffle on Matrix (official chat): https://matrix.to/#/!ErxkIgxbsTfPysApWD:privacytools.io?via=privacytools.io
A link to my older solutions: https://fosstodon.org/@hyperrealgopher/105960643461269805
In celebration I've put it all up on #gist. I'm hoping reviews my code as well as hoping it's useful for others.
Next I will be doing State and then StateT.
Maybe it was just two hours total or max but it felt like forever... Honestly I have a hard time tracking these things.
This problem took a couple hours of frustration yesterday and a couple hours today before figuring out how to solve it. I feel kind of stupid that it took me so long and I found it so counter-intuitive. If anyone is interested I wouldn't mind elaborating on my struggles.
That wraps up all the courses up to applicative. I've already started the monad course.
Excited to watch lowerdev work through these problems (https://www.youtube.com/user/RoganRowdah) after I finish the Monads course!
@hyperrealgopher Ah, cool. In that case if you want a type variable like ‘a’ to match from the top level type sig to one in the ‘where’ you’ll need to enable the ScopedTypeVariables language extension https://wiki.haskell.org/Scoped_type_variables. Then make sure to introduce type variables in the top level sig with ‘forall’.
Anyone familiar with #zplug? I am trying to switch themes but can't figure out how. zplug seems to install the theme, but then it's still the default even if I open a new terminal.
Apparently some forall type errors in Haskell are very hard/weird to debug, you have to just assume it's a scoping issue, and it has to do with some of the weirder parts of type inference. Got this when adding a type signature gave an error, and taking it away resolved it. Can go into more detail if anyone is interested.
Taking a moment to pause and go through a Haskell course. Learning by doing is great, but I feel like it's also necessary to read and learn from others in this kind of format to make sure you're not missing anything. There's always a lot you can learn from others.
Spent a very long time debugging and messing around with exim4 (I want to send email notifications to myself when the server is on battery power), even enabling TLS/587, to find out #comcast blocks *all* outbound SMTP.
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.