someodd / waffle

Haskell Gopher Protocol TUI Client 🧇
https://www.someodd.zip/showcase/waffle/
GNU General Public License v3.0
21 stars 1 forks source link

make it so "formerstate" is just a gopherbrowserstate thing #118

Closed hyperrealgopher closed 4 years ago

hyperrealgopher commented 4 years ago

it would clean up structure a lot more. gbsFormerState :: Maybe GopherBrowserState

hyperrealgopher commented 4 years ago

could even call it something like gbsFallback

hyperrealgopher commented 4 years ago

maybe this is a bad idea if i'm just doing this to clean... because the whole maybe thing will make it harder to track and some states require that it is set so that doesn't make sense